Add link to user's own page on navbar

This commit is contained in:
Kiril Kovachev 2024-10-19 17:14:49 +01:00
parent 003e1ae635
commit 6a6a210d90

View File

@ -18,7 +18,7 @@
<h1><a href="/">{{ localize("kanken_online") }}</a></h1>
<ul>
{% if g.user %}
<li><span>{{ g.user['username'] }}</span>
<li><a href="{{ url_for('my_page') }}">{{ g.user['username'] }}</a>
<li><a href="{{ url_for('auth.logout') }}">{{ localize("log_out") }}</a>
{% else %}
<li><a href="{{ url_for('auth.register') }}">{{ localize("register") }}</a>