X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fbase.html;h=c2053d467a94a53b8c65678ba1857e77d0a21337;hb=8766d4ebc4f742d4d396f5046f6ecfdfd19f73e8;hp=df668aa27fed5f7522b5a7832fd1740a6680fc7a;hpb=f1e089f7736ac8f7b9af784461350c4c169211ad;p=patchwork diff --git a/templates/base.html b/templates/base.html index df668aa..c2053d4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,61 +1,69 @@ -{% load pwurl %} +{% load staticfiles %} {% 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 %}