X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fbase.html;h=3d289fb226b21c279523719f1ccc33d533aec1b0;hb=d4a2c1f8792f52fec0c881ab38c91635840a50c0;hp=df668aa27fed5f7522b5a7832fd1740a6680fc7a;hpb=f1e089f7736ac8f7b9af784461350c4c169211ad;p=patchwork diff --git a/templates/base.html b/templates/base.html index df668aa..3d289fb 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,3 +1,4 @@ +{% load staticfiles %} {% load pwurl %} @@ -5,57 +6,65 @@ {% 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 +78,7 @@ {% endblock %}