diff --git a/templates/index.html b/templates/index.html index 96e874e49..73fbb0b0d 100755 --- a/templates/index.html +++ b/templates/index.html @@ -318,7 +318,15 @@
- + {% comment %} {% endcomment %} + + {% trans "All Notifications" %}
@@ -440,6 +448,17 @@ document.body.addEventListener('htmx:configRequest', (event) => { event.detail.headers['X-CSRFToken'] = '{{ csrf_token }}'; }) + + $(document).ready(function () { + $("#close").attr( + "class", + "oh-activity-sidebar__header-icon me-2 oh-activity-sidebar__close md hydrated" + ); + }); + $("#notificationClose").click(function (e) { + $("#allNotifications").removeClass("oh-activity-sidebar--show"); + }); + diff --git a/templates/notification/notification.html b/templates/notification/notification.html index 33bb50e99..9afa98de4 100644 --- a/templates/notification/notification.html +++ b/templates/notification/notification.html @@ -19,6 +19,7 @@