Regular users didn't have their logout/profile drop down!

Signed-off-by: Damien Lespiau <damien.lesp...@intel.com>
---
 templates/base.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/base.html b/templates/base.html
index a5a16b1..6b254f7 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -52,6 +52,7 @@
      <li><a href="{% url 'patchwork.views.bundle.bundles' %}">Bundles</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
@@ -61,7 +62,6 @@
          <li><a href="{% url 'auth_logout' %}">Logout</a></li>
        </ul>
      </li>
-{% endif %}
 {% else %}
      <li><a href="{% url 'auth_login' %}">Login</a></li>
      <li><a href="{% url 'patchwork.views.user.register' %}">Register</a></li>
-- 
2.1.0

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

Reply via email to