X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fbase.html;h=6e5b65bf0ffc449ab059171341cca97775b78520;hb=99209535d901a7bb1f10ad7d1de0a9f6308b2ce7;hp=df668aa27fed5f7522b5a7832fd1740a6680fc7a;hpb=f1e089f7736ac8f7b9af784461350c4c169211ad;p=patchwork diff --git a/templates/base.html b/templates/base.html index df668aa..6e5b65b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,19 +1,19 @@ -{% load pwurl %} - {% block title %}Patchwork{% endblock %} - Patchwork + {% block headers %}{% endblock %}

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

{% if user.is_authenticated %} @@ -21,41 +21,49 @@ {{ user.username }}
- profile :: todo - ({{ user.get_profile.n_todo_patches }})
- logout + ({{ user.get_profile.n_todo_patches }}) :: + bundles +
+ profile :: +{% if user.is_staff %} + admin :: +{% endif %} + logout {% else %} login
- register - + mail settings {% endif %}
{% if messages %}
@@ -69,7 +77,7 @@ {% endblock %}