]> git.ozlabs.org Git - patchwork/blobdiff - templates/base.html
Add shortcut to admin panel
[patchwork] / templates / base.html
index 216797f32008df210b40169067384c1aa481fb76..787433f15e13d8ac2960756fee1a9f820516acb5 100644 (file)
@@ -13,8 +13,7 @@
   <div id="title">
   <h1 style="float: left;">
      <a
-      href="{% url patchwork.views.projects %}">Patchwork</a><span
-      class="beta">&beta;</span>
+      href="{% url patchwork.views.projects %}">Patchwork</a>
     {% block heading %}{% endblock %}</h1>
   <div id="auth">
 {% if user.is_authenticated %}
      <a href="{% url patchwork.views.bundle.bundles %}">bundles</a>
      <br/>
      <a href="{% url patchwork.views.user.profile %}">profile</a> ::
+{% if user.is_staff %}
+     <a href="{% url admin:index %}">admin</a> ::
+{% endif %}
      <a href="{% url auth_logout %}">logout</a>
 {% else %}
      <a href="{% url auth_login %}">login</a>
      <br/>
-     <a href="{% url registration_register %}">register</a>
+     <a href="{% url patchwork.views.user.register %}">register</a>
      <br/>
-     <a href="{% url patchwork.views.help path="about/" %}">about</a>
+     <a href="{% url patchwork.views.mail.settings %}">mail settings</a>
 {% endif %}
    </div>
    <div style="clear: both;"></div>