Commit 2dc72092 authored by Lysander Trischler's avatar Lysander Trischler

Remove login link if authenticated again

parent 94347b6c
......@@ -17,8 +17,9 @@
{% module navi("AddWeightHandler", "Gewicht eintragen") %}
{% module navi("ChangeAPIPasswordHandler", "API-Passwort ändern") %}
{% module navi("LogoutHandler", "%s abmelden" % (current_user.display_name or current_user.username)) %}
{% end %}
{% else %}
{% module navi("LoginOrTodayHandler", "Anmelden") %}
{% end %}
{% module navi("APIHandler", "REST-API") %}
</nav>
</header>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment