]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/osqaadmin/base.html
hide the navigation links in the administration if the currently authenticated user...
[osqa.git] / forum / skins / default / templates / osqaadmin / base.html
index 7f8a2642c00f29df0f02f6d86f2dd21e1993d519..ac785247dbac489d0267f51f63aa1f3200d45dd0 100644 (file)
@@ -22,6 +22,7 @@
 {% endblock %}\r
 \r
 {% block sidebar %}\r
+    {% if user.is_superuser %}\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
@@ -46,6 +47,8 @@
     {% if markdown %}\r
         {% markdown_help %}\r
     {% endif %}\r
+\r
+    {% endif %}\r
 {% endblock %}\r
 \r
                 \r