mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Add a book details page in bookshelf
This commit is contained in:
12
ram/portal/templates/flatpages/flatpages_menu.html
Normal file
12
ram/portal/templates/flatpages/flatpages_menu.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% if flatpages_menu %}
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="flatpageDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
Articles
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="flatpageDropdownMenuLink">
|
||||
{% for m in flatpages_menu %}
|
||||
<li><a class="dropdown-item" href="{{ m.get_absolute_url }}">{{ m.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
{% endif %}
|
Reference in New Issue
Block a user