X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fbase.html;h=787433f15e13d8ac2960756fee1a9f820516acb5;hb=2894c4aeec566cb678a331f44f3d981c09c7d90c;hp=b9b359f2c5c10154ff10258d159c0a60e33009a0;hpb=8252a61e73126c2b89c97e4195c635bc3d60a3e9;p=patchwork diff --git a/templates/base.html b/templates/base.html index b9b359f..787433f 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,39 +21,49 @@ {{ user.username }}
- profile :: todo - ({{ user.get_profile.n_todo_patches }})
- logout :: - about + ({{ user.get_profile.n_todo_patches }}) :: + bundles +
+ profile :: +{% if user.is_staff %} + admin :: +{% endif %} + logout {% else %} login
- register + register
- about + mail settings {% endif %}
{% if messages %}