X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=blobdiff_plain;f=templates%2Fbase.html;h=56091b4545161de508e969f32a5ca7eef2a19d21;hp=b9b359f2c5c10154ff10258d159c0a60e33009a0;hb=b6f1c6d1e2fe24808501b9e9b2f8ac948782c814;hpb=8252a61e73126c2b89c97e4195c635bc3d60a3e9 diff --git a/templates/base.html b/templates/base.html index b9b359f..56091b4 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.get_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 %}