]> git.openstreetmap.org Git - osqa.git/commitdiff
hide the navigation links in the administration if the currently authenticated user...
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 2 Jun 2011 16:19:32 +0000 (16:19 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 2 Jun 2011 16:19:32 +0000 (16:19 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1058 0cfe37f9-358a-4d5e-be75-b63607b5c754

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