[FIX] Make notification bell solid again

Looks much better
This commit is contained in:
Peter Pfeufer
2023-12-10 14:12:12 +01:00
parent e16bb2a737
commit 20b959f273
3 changed files with 6 additions and 7 deletions

View File

@@ -1,13 +1,12 @@
{% load i18n %}
{% load navactive %}
{% load auth_notifications %}
<li class="nav-item {% navactive request 'notifications:' %}"
id="menu_item_notifications">
<a class="nav-link"
href="{% url 'notifications:list' %}">
<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-regular fa-bell{% if unread_count %} text-danger{% endif %}"></i>
<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">