[ADD] Mobile menu templates to framework

This commit is contained in:
Peter Pfeufer
2025-09-10 17:06:36 +02:00
parent 222547187e
commit b76fa4282a
11 changed files with 116 additions and 61 deletions

View File

@@ -5,10 +5,10 @@
<li class="nav-item" id="menu_item_notifications">
<a class="nav-link {% navactive request 'notifications:' %}" href="{% url 'notifications:list' %}">
{% with unread_count=request.user|user_unread_notification_count %}
<i class="fa-solid fa-bell{% if unread_count %} text-danger{% endif %}"></i>
<i class="fa-solid fa-bell me-2 fa-fw{% if unread_count %} text-danger{% endif %}"></i>
{% endwith %}
<span class="d-lg-none d-md-inline m-2">
<span class="d-lg-none d-md-inline">
{% translate "Notifications" %}
</span>
</a>