Merge pull request #9 from psukys/5-login-button-still-visible
Fix: hide login button when logged in
This commit is contained in:
commit
340a131453
1 changed files with 2 additions and 1 deletions
|
@ -30,9 +30,10 @@
|
|||
<li> <a href="/latest">Latest</a> </li>
|
||||
<li> <a href="/tags">Tags</a> </li>
|
||||
<li> <a href="/add">Add new</a> </li>
|
||||
<li> <a href="/login">Log in</a> </li>
|
||||
{% if session.authorized %}
|
||||
<li> <a href="/queue">Queue</a> </li>
|
||||
{% else %}
|
||||
<li> <a href="/login">Log in</a> </li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue