remove username from navbar
This commit is contained in:
parent
131becb581
commit
ae3086ff5d
3 changed files with 7 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -65,6 +65,9 @@ body.reviews.voting-status {
|
|||
margin: 10px 0;
|
||||
}
|
||||
|
||||
body.auth .panel-heading .panel-title span.pull-right {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue