remove username from navbar

This commit is contained in:
Joshua Simmons 2017-08-12 18:48:08 -07:00
parent 131becb581
commit ae3086ff5d
3 changed files with 7 additions and 4 deletions

View file

@ -1,12 +1,8 @@
{% 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>

View file

@ -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">

View file

@ -65,6 +65,9 @@ body.reviews.voting-status {
margin: 10px 0;
}
body.auth .panel-heading .panel-title span.pull-right {
margin: 0 auto;
}