summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index 7f77fce..6a44b69 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -73,14 +73,14 @@
Todo
<span class="badge">{{ user.profile.n_todo_patches }}</span></a>
</li>
-{% if user.is_staff %}
- <li><a href="{% url 'admin:index' %}">Admin</a></li>
-{% endif %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"
><strong>{{ user.username }}</strong>&nbsp;<span
class="caret" /></a>
<ul class="dropdown-menu" role="menu">
+{% if user.is_staff %}
+ <li><a href="{% url 'admin:index' %}">Administration</a></li>
+{% endif %}
<li><a href="{% url 'user-profile' %}">View profile</a></li>
<li><a href="{% url 'auth_logout' %}">Logout</a></li>
</ul>