]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/osqaadmin/djstyle_base.html
Closing OSQA 201, Add a "site maintenance" switch and page.
[osqa.git] / forum / skins / default / templates / osqaadmin / djstyle_base.html
index c91218f84a8d453dc7479b5133847df71a2a74c8..f9e941fe1b8fa3eea14c5f9b785b96a1bc17f626 100644 (file)
@@ -45,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 %}
+                </div>
             </div>
         </div>
         <div id="footer" class="breadcumbs">