]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/osqaadmin/djstyle_base.html
Adds the hability to create custom css. Fixes a small issue with admin area forms.
[osqa.git] / forum / skins / default / templates / osqaadmin / djstyle_base.html
index 13233a3258e2acadeb44294fda88ce41649b9824..9a7cf74247fc054825d4ba662be9756a96ef5ca6 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">
-            <a href="{% url index %}">{% trans "Home" %}</a> &gt
+            <a href="{% url index %}">{% trans "Home" %}</a> &gt;
             <a href="{% url admin_index %}">{% trans "Dashboard" %}</a> &gt;
             {% block pagename %}{% endblock %} - 
             {% block description %}{% endblock %}
         </div>
         <div id="content" class="colMS">
             <div id="content-main">
+            {% autoescape off %}
+                {% for message in user_messages %}
+                    <p class="admin_message">{{ message }}</p>
+                {% endfor %}
+            {% endautoescape %}
                 {% block admincontent %}{% endblock %}
             </div>
             <div id="content-related">
                 <div id="pages-sets-menu" class="module">
                     <h2>{% trans "Static content" %}</h2>
                     <ul>
+                        <li><a href="{% url admin_static_pages %}">{% trans "Custom Pages" %}</a></li>
                         <li><a href="{% url admin_set allsets.about.name %}">{{ allsets.about.title }}</a></li>
                         <li><a href="{% url admin_set allsets.faq.name %}">{{ allsets.faq.title }}</a></li>
                         <li><a href="{% url admin_set allsets.sidebar.name %}">{{ allsets.sidebar.title }}</a></li>
+                        <li><a href="{% url admin_set allsets.css.name %}">{{ allsets.css.title }}</a></li>
                     </ul>
                 </div>
                 <div id="other-sets-menu" class="module">
                     {% 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>
+                        <li><a href="{% url admin_flagged_posts %}">{% trans "Flagged Posts" %}</a></li>
                     </ul>
-                </div>{% endcomment %}
+                </div>
             </div>
         </div>
         <div id="footer" class="breadcumbs">