From f73a641aef3184c0986f4cb5135319d502448187 Mon Sep 17 00:00:00 2001 From: NguyenND Date: Mon, 2 Mar 2026 13:35:28 -0500 Subject: [PATCH] Mar 02 2026: fix notification update, and sent email --- app/templates/base.html | 2 +- app/templates/issues/view.html | 30 +++++++++++++++++++++++- app/utils/notifications.py | 43 +++++++++++++++++++++++++--------- 3 files changed, 62 insertions(+), 13 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index c8c6fb7..68009d1 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -239,7 +239,7 @@ } function escapeAttr(str) { return escapeHtml(str); } - function fetchNotifications() { + window.fetchNotifications = function fetchNotifications() { fetch(FEED_URL, { credentials: 'same-origin' }) .then(r => r.json()) .then(data => { diff --git a/app/templates/issues/view.html b/app/templates/issues/view.html index f941c6f..a97257c 100644 --- a/app/templates/issues/view.html +++ b/app/templates/issues/view.html @@ -74,7 +74,7 @@ {% if comments %}
-
Update History
+
Update History