Changeset - ae3086ff5d4f
[Not reviewed]
0 3 0
Joshua Simmons - 4 years ago 2017-08-13 01:48:08
i@joshuasimmons.name
remove username from navbar
3 files changed with 7 insertions and 4 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/_account_bar.html
Show inline comments
 
{% load i18n %}
 
{% load account_tags %}
 

	
 

	
 
<ul class="nav navbar-nav pull-right">
 
    {% if request.user.is_authenticated %}
 
        <span class="navbar-text">
 
            <i class="fa fa-user"></i> {% user_display request.user %}
 
        </span>
 
        <li>
 
            <a href="{% url "dashboard" %}"><i class="fa fa-tasks"></i> {% trans "Dashboard" %}</a>
 
        </li>
 
        <li>
 
            <a id="account_logout" href="{% url 'account_logout' %}"><i class="fa fa-power-off"></i> {% trans "Log out" %}</a>
 
        </li>
 
    {% else %}
 
        <li><a href="{% url 'account_login' %}">{% trans "Log in" %}</a></li>
 
        {% if ACCOUNT_OPEN_SIGNUP %}
 
            <li><a href="{% url 'account_signup' %}">{% trans "Sign up" %}</a></li>
 
        {% endif %}
 
    {% endif %}
pinaxcon/templates/dashboard.html
Show inline comments
 
{% extends "site_base.html" %}
 

	
 
{% load i18n %}
 
{% load proposal_tags %}
 
{% load review_tags %}
 
{% load teams_tags %}
 
{% load registrasion_tags %}
 
{% load account_tags %}
 

	
 
{% block head_title %}Dashboard{% endblock %}
 

	
 
{% block body_class %}auth{% endblock %}
 

	
 
{% block body %}
 

	
 
    <div class="panel panel-default">
 
      <div class="panel-heading">
 
          <h3 class="panel-title">
 
              <i class="fa fa-user-o"></i>
 
              Account
 
              <span class="pull-right">
 
                <i class="fa fa-user"></i> {% user_display request.user %}
 
              </span>
 
          </h3>
 
      </div>
 
      <div class="panel-body">
 
        <li>
 
            <a href="{% url 'account_password' %}">{% trans "Change password" %}</a>
 
        </li>
 
      </div>
 
    </div>
 

	
 
    <div class="panel panel-default">
 
        <div class="panel-heading">
 
            <div class="pull-right">
static/scss/custom.scss
Show inline comments
...
 
@@ -56,15 +56,18 @@ body.reviews.voting-status {
 
#accountLogOutForm {
 
    display: none;
 
}
 

	
 
.sponsor-list h3 {
 
    margin-top: 3em;
 
}
 

	
 
.sponsor-list > div {
 
    margin: 10px 0;
 
}
 

	
 
body.auth .panel-heading .panel-title span.pull-right {
 
    margin: 0 auto;
 
}
 

	
 

	
 

	
0 comments (0 inline, 0 general)