diff --git a/netbox/templates/htmx/notifications.html b/netbox/templates/htmx/notifications.html index 23660e4c5..e03e5afc9 100644 --- a/netbox/templates/htmx/notifications.html +++ b/netbox/templates/htmx/notifications.html @@ -7,7 +7,11 @@
- {{ notification.object_repr }} + {% if not notification.event.destructive %} + {{ notification.object_repr }} + {% else %} + {{ notification.object_repr }} + {% endif %}
{{ notification.event }} {{ notification.created|timesince }} {% trans "ago" %}