mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-22 11:59:33 +00:00
ui: Use inline SVG icons for notification dropdown
Tests: - The icon appears as before in navbar in light/dark themes. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
a951b5f606
commit
f56d5f1b0f
@ -5,6 +5,7 @@
|
||||
{# Template to display a drop down button for notifications in the navbar #}
|
||||
|
||||
{% load i18n %}
|
||||
{% load plinth_extras %}
|
||||
|
||||
{% if notifications %}
|
||||
<li class="nav-item notifications-dropdown">
|
||||
@ -12,7 +13,7 @@
|
||||
class="nav-link dropdown-toggle" data-bs-toggle="collapse"
|
||||
role="button" aria-expanded="false" aria-haspopup="true"
|
||||
data-bs-target=".notifications">
|
||||
<span class="fa fa-bell nav-icon"></span>
|
||||
{% icon 'bell-o' %}
|
||||
<span class="badge rounded-pill
|
||||
{% if notifications_max_severity == 'exception' or notifications_max_severity == 'error' %}
|
||||
text-bg-danger
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user