Show booshelf menu

This commit is contained in:
2023-10-02 23:16:54 +02:00
parent 98c696b2d9
commit 22bee7d95d
4 changed files with 23 additions and 9 deletions

View File

@@ -0,0 +1,10 @@
{% if bookshelf_menu %}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Bookshelf
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<li><a class="nav-link" href="{% url 'books' %}">Books</a></li>
</ul>
</li>
{% endif %}