<link rel="stylesheet" href="{{ settings.ADMIN_MEDIA_PREFIX }}css/base.css" type="text/css"/>
<link rel="stylesheet" href="{{ settings.ADMIN_MEDIA_PREFIX }}css/forms.css" type="text/css"/>
<link rel="stylesheet" href="{{ settings.ADMIN_MEDIA_PREFIX }}css/changelists.css" type="text/css"/>
+ <!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{{ settings.ADMIN_MEDIA_PREFIX }}css/ie.css" /><![endif]-->
<link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/djstyle_admin.css" %}"/>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
<title>{% trans "OSQA administration area" %} - {% block subtitle %}{% endblock %}</title>
</head>
<body>
-<div id="container">
+<div id="container" class="change-list">
<div id="header">
{% block header %}
<div id="branding">
{% block pagename %}{% endblock %} -
{% block description %}{% endblock %}
</div>
- <div id="content" class="colMS">
+ <div id="content" class="{% if hide_menu %}flex{% else %}colMS{% endif %}">
<div id="content-main">
{% autoescape off %}
{% for message in user_messages %}
{% endautoescape %}
{% block admincontent %}{% endblock %}
</div>
+ {% if not hide_menu %}
<div id="content-related">
{% if unsaved %}
<div id="changes-box" class="module">
<li><a href="{% url admin_set allsets.users.name %}">{{ allsets.users.title }}</a></li>
<li><a href="{% url admin_set allsets.email.name %}">{{ allsets.email.title }}</a></li>
<li><a href="{% url admin_set allsets.paths.name %}">{{ allsets.paths.title }}</a></li>
+ <li><a href="{% url admin_set allsets.urls.name %}">{{ allsets.urls.title }}</a></li>
<li><a href="{% url admin_set allsets.extkeys.name %}">{{ allsets.extkeys.title }}</a></li>
</ul>
</div>
<li><a href="{% url admin_set allsets.repgain.name %}">{{ allsets.repgain.title }}</a></li>
<li><a href="{% url admin_set allsets.minrep.name %}">{{ allsets.minrep.title }}</a></li>
<li><a href="{% url admin_set allsets.voting.name %}">{{ allsets.voting.title }}</a></li>
+ <li><a href="{% url admin_set allsets.accept.name %}">{{ allsets.accept.title }}</a></li>
<li><a href="{% url admin_set allsets.badges.name %}">{{ allsets.badges.title }}</a></li>
</ul>
</div>
<ul>
<li><a href="{% url admin_maintenance %}">{% trans "Maintenance mode" %}</a></li>
<li><a href="{% url admin_flagged_posts %}">{% trans "Flagged Posts" %}</a></li>
- {% comment %}<li><a href="{% url admin_moderation %}">{% trans "Moderation" %}</a></li>{% endcomment %}
+ {% for name,tool in tools.items %}
+ <li><a href="{% url admin_tools name %}">{{ tool.label }}</a></li>
+ {% endfor %}
</ul>
</div>
</div>
+ {% endif %}
</div>
<div id="footer" class="breadcumbs">
<a href="http://www.osqa.net">OSQA</a> <span class="version">{{ settings.OSQA_VERSION }} ({{ settings.SVN_REVISION }})</span>