mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 22:10:16 +02:00
[FIX] Make notification bell solid again
Looks much better
This commit is contained in:
parent
e16bb2a737
commit
20b959f273
@ -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">
|
||||
|
@ -27,7 +27,7 @@ $(function () {
|
||||
`Notifications <span class="badge">${unreadCount}</span>`
|
||||
);
|
||||
} else {
|
||||
innerHtml = '<i class="fa-regular fa-bell"></i>';
|
||||
innerHtml = '<i class="fa-solid fa-bell"></i>';
|
||||
}
|
||||
|
||||
$('#menu_item_notifications').html(
|
||||
|
@ -8,7 +8,7 @@
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{% url 'notifications:list' %}">
|
||||
<i class="fa-regular fa-bell"></i>
|
||||
<i class="fa-solid fa-bell"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user