]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/osqaadmin/djstyle_base.html
add the "Flagged Posts" link to the admin page.
[osqa.git] / forum / skins / default / templates / osqaadmin / djstyle_base.html
index 13233a3258e2acadeb44294fda88ce41649b9824..05f4bd12063e2c383a815699f4debeb93b2e7a32 100644 (file)
         <div id="header">
             {% block header %}
             <div id="branding">
-                <h1 id="site-name"><a href="{% url index %}">{{ settings.APP_SHORT_NAME }} - {% trans "Administration Area" %}</a> </h1>
+                <h1 id="site-name"><a href="{% url admin_index %}">{{ settings.APP_SHORT_NAME }} - {% trans "Administration Area" %}</a> </h1>
             </div>
             {% endblock %}
             <div id="user-tools">
                 {% trans "Welcome," %}
                 <strong>{{ request.user.username }}</strong>.
-                <a href="{% url admin_switch_interface %}?to=default">{% trans "To standard interface" %}</a> / <a href="{% url logout %}">{% trans "Log out" %}</a>
+                <a href="{% url admin_switch_interface %}?to=default">{% trans "To standard interface" %}</a>
+                / <a href="{% url index %}">{% trans "Back to home page" %}</a>
+                / <a href="{% url logout %}">{% trans "Log out" %}</a>
             </div>
         </div>
         <div class="breadcrumbs">
@@ -43,6 +45,9 @@
         </div>
         <div id="content" class="colMS">
             <div id="content-main">
+                {% for message in user_messages %}
+                    <p class="admin_message">{{ message }}</p>
+                {% endfor %}
                 {% block admincontent %}{% endblock %}
             </div>
             <div id="content-related">
                     {% endfor %}
                     </ul>
                 </div>
-                {% comment %}<div id="tools-menu" class="module">
+                <div id="tools-menu" class="module">
                     <h2>{% trans "Tools" %}</h2>
                     <ul>
-                        <li><a href="{% url admin_statistics %}">{% trans "Statistics" %}</a></li>
+                        <li><a href="{% url admin_maintenance %}">{% trans "Maintenance mode" %}</a></li>
                     </ul>
-                </div>{% endcomment %}
+                    <ul>
+                        <li><a href="{% url admin_flagged_posts %}">{% trans "Flagged Posts" %}</a></li>
+                    </ul>
+                </div>
             </div>
         </div>
         <div id="footer" class="breadcumbs">