X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=blobdiff_plain;f=templates%2Fbase.html;h=72dab3424f8662b585d303ca4b8281384996f706;hp=d3b8e6776690471e7bb2941bfbe95da0fb4da7af;hb=HEAD;hpb=41f19b6643b44768dc06561c992c04ed6148477d diff --git a/templates/base.html b/templates/base.html index d3b8e67..72dab34 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,38 +1,42 @@ -{% 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 }}
- todo - ({{ user.get_profile.n_todo_patches }}) :: - bundles + todo + ({{ user.profile.n_todo_patches }}) :: + bundles
- profile :: - logout + profile :: +{% if user.is_staff %} + admin :: +{% endif %} + logout {% else %} - login + login
- register + register
- mail settings + mail settings {% endif %}
@@ -42,23 +46,23 @@ {% if project %} Project: {{ project.linkname }} : - patches : - project info {% if other_projects %} : - other projects {% endif %} {% else %} - project list {% endif %}
@@ -74,7 +78,7 @@ {% endblock %}