X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fbase.html;h=72dab3424f8662b585d303ca4b8281384996f706;hb=7e1437e8c455a2071e3d64d0cc7ea064b0607512;hp=b9b359f2c5c10154ff10258d159c0a60e33009a0;hpb=8252a61e73126c2b89c97e4195c635bc3d60a3e9;p=patchwork diff --git a/templates/base.html b/templates/base.html index b9b359f..72dab34 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,59 +1,70 @@ -{% load pwurl %} +{% load staticfiles %} {% block title %}Patchwork{% endblock %} - Patchwork - + + + {% block headers %}{% endblock %}

Patchworkβ + href="{% url 'patchwork.views.projects' %}">Patchwork {% block heading %}{% endblock %}

{% if user.is_authenticated %} Logged in as - {{ user.username }}
- profile :: - todo - ({{ user.get_profile.n_todo_patches }})
- logout :: - about + todo + ({{ user.profile.n_todo_patches }}) :: + bundles +
+ profile :: +{% if user.is_staff %} + admin :: +{% endif %} + logout {% else %} - login + login
- register + register
- about + mail settings {% endif %}
{% if messages %}
@@ -67,7 +78,7 @@ {% endblock %}