X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fbase.html;h=f04d6e1e781df5b15a4d1fc227d56a0f880068ae;hb=a48f76a2d3a98c21d4b37f19cf84073e77db55c8;hp=b9b359f2c5c10154ff10258d159c0a60e33009a0;hpb=8252a61e73126c2b89c97e4195c635bc3d60a3e9;p=patchwork diff --git a/templates/base.html b/templates/base.html index b9b359f..f04d6e1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,59 +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 :: - 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 +77,7 @@ {% endblock %}