mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-15 21:31:26 +00:00
Hide broken 'Your shelves' when not logged in.
This commit is contained in:
parent
2ebc758dae
commit
f40105990a
1 changed files with 2 additions and 0 deletions
|
@ -26,7 +26,9 @@
|
||||||
<div id="branding"><a href="/"><img id="logo" src="/static/images/logo-small.png" alt="BookWyrm"></img></a></div>
|
<div id="branding"><a href="/"><img id="logo" src="/static/images/logo-small.png" alt="BookWyrm"></img></a></div>
|
||||||
|
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
|
{% if request.user.is_authenticated %}
|
||||||
<li><a href="/user/{{request.user.localname}}/shelves">Your shelves</a></li>
|
<li><a href="/user/{{request.user.localname}}/shelves">Your shelves</a></li>
|
||||||
|
{% endif %}
|
||||||
<li><a href="/#feed">Updates</a></li>
|
<li><a href="/#feed">Updates</a></li>
|
||||||
<li><a href="/books">Discover Books</a></li>
|
<li><a href="/books">Discover Books</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue