X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=templates%2Fbase.html;fp=templates%2Fbase.html;h=df668aa27fed5f7522b5a7832fd1740a6680fc7a;hb=f1e089f7736ac8f7b9af784461350c4c169211ad;hp=0000000000000000000000000000000000000000;hpb=6a2a96299d4802cb4fb82891daf6f81ff33ba4e0;p=patchwork diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..df668aa --- /dev/null +++ b/templates/base.html @@ -0,0 +1,79 @@ +{% load pwurl %} + + + + + {% block title %}Patchwork{% endblock %} - Patchwork + +{% block headers %}{% endblock %} + + +
+

+ Patchworkβ + {% block heading %}{% endblock %}

+
+{% if user.is_authenticated %} + Logged in as + {{ user.username }} +
+ profile :: + todo + ({{ user.get_profile.n_todo_patches }})
+ logout +{% else %} + login +
+ register + +{% endif %} +
+
+
+ +{% if messages %} +
+ {% for message in messages %} +
{{ message }}
+ {% endfor %} +
+{% endif %} +
+{% block body %} +{% endblock %} +
+ + + + + +