X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fbase.html;h=f04d6e1e781df5b15a4d1fc227d56a0f880068ae;hb=a48f76a2d3a98c21d4b37f19cf84073e77db55c8;hp=df668aa27fed5f7522b5a7832fd1740a6680fc7a;hpb=f1e089f7736ac8f7b9af784461350c4c169211ad;p=patchwork diff --git a/templates/base.html b/templates/base.html index df668aa..f04d6e1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,61 +1,69 @@ -{% load pwurl %} - {% 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 + todo + ({{ user.profile.n_todo_patches }}) :: + bundles +
+ profile :: +{% if user.is_staff %} + admin :: +{% endif %} + logout {% else %} - login + login
- register - + mail settings {% endif %}
{% if messages %}
@@ -69,7 +77,7 @@ {% endblock %}