aboutsummaryrefslogtreecommitdiff
path: root/chishop/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'chishop/templates/base.html')
-rw-r--r--chishop/templates/base.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/chishop/templates/base.html b/chishop/templates/base.html
index cc21bf5..76483ce 100644
--- a/chishop/templates/base.html
+++ b/chishop/templates/base.html
@@ -20,6 +20,16 @@
20 {% block site_logo %}{% endblock %} 20 {% block site_logo %}{% endblock %}
21 <h1 id="site-name">{% block site_name_header %}{% endblock %}</h1> 21 <h1 id="site-name">{% block site_name_header %}{% endblock %}</h1>
22 </div> 22 </div>
23
24 <div id="user-tools">
25 {% if user.is_authenticated %}
26 Welcome, <strong>{{user.username}}</strong>.
27 <a href="{% url django.contrib.auth.views.logout %}?next={{request.path}}">Log out</a>
28 {% else %}
29 <a href="{% url django.contrib.auth.views.login %}?next={{request.path}}">Log in</a> /
30 <a href="{% url registration_register %}">Register</a>
31 {% endif %}
32 </div>
23 </div> 33 </div>
24 <!-- END Header --> 34 <!-- END Header -->
25 35
@@ -60,4 +70,3 @@
60 70
61</body> 71</body>
62</html> 72</html>
63