1 {% extends "base.html" %}
\r
3 {% load i18n extra_tags general_sidebar_tags %}
\r
5 {% block title %}{% trans "Site Administration" %}{% endblock %}
\r
8 <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/admin.css" %}"/>
\r
9 <script type="text/javascript" src="{% media "/media/js/osqa.admin.js" %}"></script>
\r
10 {% block adminjs %}{% endblock %}
\r
14 <div class="headNormal">
\r
15 {% trans "OSQA administration area" %} - {% block subtitle %}{% endblock %}
\r
17 <div id="admin_page_description">
\r
18 {% block description %}{% endblock %}
\r
21 {% block admincontent %}
\r
27 {% if user.is_superuser %}
\r
29 <a href="{% url admin_switch_interface %}?to=djstyle">{% trans "Switch to django style interface" %}</a>
\r
30 <h3 class="subtitle">{% trans "Administration menu" %}</h3>
\r
32 {% for set in allsets.values %}
\r
33 <li><a href="{% url admin_set set.name %}">{{ set.title }}</a></li>
\r
36 {% for set in othersets %}
\r
38 <a href="{% url admin_set set.name %}">{{ set.title }}</a>
\r
42 <li><a href="{% url admin_maintenance %}">{% trans "Maintenance mode" %}</a></li>
\r
43 <li><a href="{% url admin_flagged_posts %}">{% trans "Flagged Posts" %}</a></li>
\r
44 {% for name,tool in tools %}
\r
45 <li><a href="{% url admin_tools name %}">{{ tool }}</a></li>
\r