From: Guillaume Pellerin Date: Fri, 4 Aug 2017 05:48:14 +0000 (+0200) Subject: Fix tab color and structure X-Git-Tag: 1.6.4^2~17^2~1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=08e5c147c8801b14c0c8f133faf1bf3af0adea57;p=telemeta.git Fix tab color and structure --- diff --git a/telemeta/templates/telemeta/base.html b/telemeta/templates/telemeta/base.html index 75faa6cc..a5a30448 100644 --- a/telemeta/templates/telemeta/base.html +++ b/telemeta/templates/telemeta/base.html @@ -123,10 +123,8 @@
  • {% trans "Archives" %} @@ -137,42 +135,28 @@
  • {% trans "Advanced search" %}
  • -
  • {% trans "Terminology" %} - {% if perms.telemeta.change_physicalformat %} - - -
  • - - {% else %} - - - - {% endif %} + + {% if user.is_authenticated and user.is_staff %} +
  • {% trans "Terminology" %} + {% if perms.telemeta.change_physicalformat %} + + {% else %} + + {% endif %} +
  • + {% endif %} {% if user.is_authenticated %} {% if user.is_staff or not perms.telemeta.can_not_view_users_and_profiles %} @@ -184,6 +168,7 @@ {% endif %} +
    {% csrf_token %}