summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/navbar.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-04-09 20:22:12 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-06-12 08:39:42 +0200
commit478bef4100f4b18553a74e79fbacc2ffec695d7c (patch)
tree26d66e9387005a4e7b047b1bd9a2a6542856076d /ishtar_common/templates/navbar.html
parenteada3318b5244c9556314f1f68012260e7b95d22 (diff)
downloadIshtar-478bef4100f4b18553a74e79fbacc2ffec695d7c.tar.bz2
Ishtar-478bef4100f4b18553a74e79fbacc2ffec695d7c.zip
Add a profile page to manage preferences (refs #4046)
Diffstat (limited to 'ishtar_common/templates/navbar.html')
-rw-r--r--ishtar_common/templates/navbar.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/ishtar_common/templates/navbar.html b/ishtar_common/templates/navbar.html
index a5c135a59..0ea06bff8 100644
--- a/ishtar_common/templates/navbar.html
+++ b/ishtar_common/templates/navbar.html
@@ -22,14 +22,20 @@
{% if user.is_authenticated %}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown"
- href="#" role="button" aria-haspopup="true" aria-expanded="false">{{ user.username }}</a>
+ href="#" role="button" aria-haspopup="true"
+ aria-expanded="false">
+ {{ user.username }} / {{user.ishtaruser.current_profile_name}}
+ </a>
<div class="dropdown-menu dropdown-menu-right">
- <a class="dropdown-item" href="{% url 'auth_logout' %}">
- {% trans "Log out" %}
+ <a class="dropdown-item" href="{% url 'profile' %}">
+ {% trans "Profile" %}
</a>
<a class="dropdown-item" href="{% url 'auth_password_change' %}">
{% trans "Change password" %}
</a>
+ <a class="dropdown-item" href="{% url 'auth_logout' %}">
+ {% trans "Log out" %}
+ </a>
</div>
</li>
{% else %}