]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/osqaadmin/base.html
be able to control right navigation visibility in the administration interface
[osqa.git] / forum / skins / default / templates / osqaadmin / base.html
index ff862c90461066d37107795f3a598727630cba4c..d27b2161afb6e184f65d6726c28174d5e05f8b93 100644 (file)
@@ -24,7 +24,9 @@
 {% endblock %}\r
 \r
 {% block sidebar %}\r
-    {% if user.is_superuser %}\r
+    {% if hide_navigation %}\r
+\r
+    {% else %}\r
     <div class="boxC">\r
         <a href="{% url admin_switch_interface %}?to=djstyle">{% trans "Switch to django style interface" %}</a>\r
         <h3 class="subtitle">{% trans "Administration menu" %}</h3>\r