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>
pinaxcon/templates/dashboard.html
Show inline comments
...
 
@@ -5,6 +5,7 @@
 
{% load review_tags %}
 
{% load teams_tags %}
 
{% load registrasion_tags %}
 
{% load account_tags %}
 

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

	
...
 
@@ -17,6 +18,9 @@
 
          <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">
static/scss/custom.scss
Show inline comments
...
 
@@ -65,6 +65,9 @@ body.reviews.voting-status {
 
    margin: 10px 0;
 
}
 

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

	
 

	
 

	
0 comments (0 inline, 0 general)