From: Damien Lespiau <damien.lesp...@intel.com>

Signed-off-by: Damien Lespiau <damien.lesp...@intel.com>
Acked-by: Stephen Finucane <stephen.finuc...@intel.com>
---
 templates/base.html | 6 +++---
 1 file 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>
-- 
2.0.0

_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to