From: jordan Date: Thu, 2 Jun 2011 16:19:32 +0000 (+0000) Subject: hide the navigation links in the administration if the currently authenticated user... X-Git-Tag: live~255 X-Git-Url: https://git.openstreetmap.org/osqa.git/commitdiff_plain/e730b5270b0f070973b7ac5b744ea77969ae59bf hide the navigation links in the administration if the currently authenticated user is not a superuser git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1058 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/templates/osqaadmin/base.html b/forum/skins/default/templates/osqaadmin/base.html index 7f8a264..ac78524 100644 --- a/forum/skins/default/templates/osqaadmin/base.html +++ b/forum/skins/default/templates/osqaadmin/base.html @@ -22,6 +22,7 @@ {% endblock %} {% block sidebar %} + {% if user.is_superuser %}
{% trans "Switch to django style interface" %}

{% trans "Administration menu" %}

@@ -46,6 +47,8 @@ {% if markdown %} {% markdown_help %} {% endif %} + + {% endif %} {% endblock %}