aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-03-31 23:29:48 +0200
committerDaniel Schadt <kingdread@gmx.de>2023-03-31 23:29:48 +0200
commitace7c4ab80e7bd7ac2acdebede6437c56636e7b1 (patch)
treeb8b29bde620c48058813f5d21c743b27621e5775
parent4360b2582309c99306476140b302ab82e8158cda (diff)
downloadfietsboek-ace7c4ab80e7bd7ac2acdebede6437c56636e7b1.tar.gz
fietsboek-ace7c4ab80e7bd7ac2acdebede6437c56636e7b1.tar.bz2
fietsboek-ace7c4ab80e7bd7ac2acdebede6437c56636e7b1.zip
add a link to the profile to the user menu
-rw-r--r--fietsboek/templates/layout.jinja25
1 files changed, 4 insertions, 1 deletions
diff --git a/fietsboek/templates/layout.jinja2 b/fietsboek/templates/layout.jinja2
index 19fb700..b6fcea0 100644
--- a/fietsboek/templates/layout.jinja2
+++ b/fietsboek/templates/layout.jinja2
@@ -75,7 +75,10 @@ const Legende = false;
<a class="dropdown-item" href="{{ request.route_url('logout') }}">{{ _("page.navbar.logout") }}</a>
</li>
<li>
- <a class="dropdown-item" href="{{ request.route_url('user-data') }}">{{ _("page.navbar.profile") }}</a>
+ <a class="dropdown-item" href="{{ request.route_url('profile', user_id=request.identity.id) }}">{{ _("page.navbar.profile") }}</a>
+ </li>
+ <li>
+ <a class="dropdown-item" href="{{ request.route_url('user-data') }}">{{ _("page.navbar.user_data") }}</a>
</li>
{% if request.identity.is_admin %}
<li>