Add link to user's own page on navbar
This commit is contained in:
parent
003e1ae635
commit
6a6a210d90
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user