1 {% extends "base.html" %}
\r
3 {% load i18n extra_tags general_sidebar_tags %}
\r
6 <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/admin.css" %}"/>
\r
7 <script type="text/javascript" src="{% media "/media/js/osqa.admin.js" %}"></script>
\r
8 {% block adminjs %}{% endblock %}
\r
12 <div class="headNormal">
\r
13 {% trans "OSQA administration area" %} - {% block subtitle %}{% endblock %}
\r
15 <div id="admin_page_description">
\r
16 {% block description %}{% endblock %}
\r
19 {% block admincontent %}
\r
25 {% if user.is_superuser %}
\r
27 <a href="{% url admin_switch_interface %}?to=djstyle">{% trans "Switch to django style interface" %}</a>
\r
28 <h3 class="subtitle">{% trans "Administration menu" %}</h3>
\r
30 {% for set in allsets.values %}
\r
31 <li><a href="{% url admin_set set.name %}">{{ set.title }}</a></li>
\r
34 {% for set in othersets %}
\r
36 <a href="{% url admin_set set.name %}">{{ set.title }}</a>
\r
40 <li><a href="{% url admin_maintenance %}">{% trans "Maintenance mode" %}</a></li>
\r
41 <li><a href="{% url admin_flagged_posts %}">{% trans "Flagged Posts" %}</a></li>
\r
42 {% for name,tool in tools.items %}
\r
43 <li><a href="{% url admin_tools name %}">{{ tool.label }}</a></li>
\r