[REMOVE] Unnecessary span

This commit is contained in:
Peter Pfeufer 2023-12-10 14:15:51 +01:00
parent 20b959f273
commit 021b7b2edb
No known key found for this signature in database
GPG Key ID: 6051D2C6AD4EBC27

View File

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