diff --git a/netbox/templates/htmx/notifications.html b/netbox/templates/htmx/notifications.html index 0fb5501a2..12ef8c511 100644 --- a/netbox/templates/htmx/notifications.html +++ b/netbox/templates/htmx/notifications.html @@ -29,3 +29,5 @@ {% endif %} +{% include 'inc/notification_bell.html' %} + diff --git a/netbox/templates/inc/notification_bell.html b/netbox/templates/inc/notification_bell.html new file mode 100644 index 000000000..5140a2f3f --- /dev/null +++ b/netbox/templates/inc/notification_bell.html @@ -0,0 +1,9 @@ +{% if notifications %} + + + +{% else %} + + + +{% endif %} diff --git a/netbox/templates/inc/user_menu.html b/netbox/templates/inc/user_menu.html index de9dcac8e..ab2c31239 100644 --- a/netbox/templates/inc/user_menu.html +++ b/netbox/templates/inc/user_menu.html @@ -6,11 +6,7 @@ {% with notifications=request.user.notifications.unread.exists %}