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
commit5df7943ca24d893a3db02a1d12f494acf8dd549b (patch)
tree26d66e9387005a4e7b047b1bd9a2a6542856076d /ishtar_common/templates/navbar.html
parent7f5a100fd07af4b8be51f524b81ae9d8776ca9b0 (diff)
downloadIshtar-5df7943ca24d893a3db02a1d12f494acf8dd549b.tar.bz2
Ishtar-5df7943ca24d893a3db02a1d12f494acf8dd549b.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 %}