-{% extends "base.html" %}\r
-\r
-{% load i18n extra_tags general_sidebar_tags %}\r
-\r
-{% block forejs %}\r
- <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/admin.css" %}"/>\r
- <script type="text/javascript" src="{% media "/media/js/osqa.admin.js" %}"></script>\r
- {% block adminjs %}{% endblock %}\r
-{% endblock %}\r
-\r
-{% block content %}\r
- <div class="headNormal">\r
- {% trans "OSQA administration area" %} - {% block subtitle %}{% endblock %}\r
- </div>\r
- <div id="admin_page_description">\r
- {% block description %}{% endblock %}\r
- </div>\r
- <div>\r
- {% block admincontent %}\r
- {% endblock %}\r
- </div>\r
-{% endblock %}\r
-\r
-{% block sidebar %}\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
- <ul>\r
- {% for set in allsets.values %}\r
- <li><a href="{% url admin_set set.name %}">{{ set.title }}</a></li>\r
- {% endfor %}\r
- {% for set in othersets %}\r
- <li>\r
- <a href="{% url admin_set set.name %}">{{ set.title }}</a>\r
- </li>\r
- {% endfor %}\r
- <li><a href="{% url admin_maintenance %}">{% trans "Maintenance mode" %}</a></li>\r
- <li><a href="{% url admin_flagged_posts %}">{% trans "Flagged Posts" %}</a></li>\r
- {% for name,tool in tools.items %}\r
- <li><a href="{% url admin_tools name %}">{{ tool.label }}</a></li>\r
- {% endfor %}\r
- </ul>\r
- </div>\r
- {% if markdown %}\r
- {% markdown_help %}\r
- {% endif %}\r
-{% endblock %}\r
-\r
- \r
+{% extends "base.html" %}
+
+{% load i18n extra_tags general_sidebar_tags %}
+
+{% block title %}{% trans "Site Administration" %}{% endblock %}
+
+{% block forejs %}
+ <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/admin.css" %}"/>
+ <script type="text/javascript" src="{% media "/media/js/osqa.admin.js" %}"></script>
+ {% block adminjs %}{% endblock %}
+{% endblock %}
+
+{% block content %}
+ <div class="headNormal">
+ {% trans "OSQA administration area" %} - {% block subtitle %}{% endblock %}
+ </div>
+ <div id="admin_page_description">
+ {% block description %}{% endblock %}
+ </div>
+ <div>
+ {% block admincontent %}
+ {% endblock %}
+ </div>
+{% endblock %}
+
+{% block sidebar %}
+ {% if hide_navigation %}
+
+ {% else %}
+ <div class="boxC">
+ <a href="{% url "admin_switch_interface" %}?to=djstyle">{% trans "Switch to django style interface" %}</a>
+ <h3 class="subtitle">{% trans "Administration menu" %}</h3>
+ <ul>
+ {% for set in allsets.values %}
+ <li><a href="{% url "admin_set" set.name %}">{{ set.title }}</a></li>
+ {% endfor %}
+
+ {% for set in othersets %}
+ <li>
+ <a href="{% url "admin_set" set.name %}">{{ set.title }}</a>
+ </li>
+ {% endfor %}
+
+ <li><a href="{% url "admin_maintenance" %}">{% trans "Maintenance mode" %}</a></li>
+ <li><a href="{% url "admin_flagged_posts" %}">{% trans "Flagged Posts" %}</a></li>
+ {% for name,tool in tools %}
+ <li><a href="{% url "admin_tools" name %}">{{ tool }}</a></li>
+ {% endfor %}
+ </ul>
+ </div>
+ {% if markdown %}
+ {% markdown_help %}
+ {% endif %}
+
+ {% endif %}
+{% endblock %}
\ No newline at end of file