From f0061110c9ceedabd4eaf4ba2406530c458ebc84 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 10 Sep 2025 12:55:22 +0200 Subject: [PATCH] UI - Correctly set 'checking now' status badge on edit page --- changedetectionio/blueprint/ui/edit.py | 1 + changedetectionio/templates/base.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changedetectionio/blueprint/ui/edit.py b/changedetectionio/blueprint/ui/edit.py index bdee4725..47d1dfad 100644 --- a/changedetectionio/blueprint/ui/edit.py +++ b/changedetectionio/blueprint/ui/edit.py @@ -242,6 +242,7 @@ def construct_blueprint(datastore: ChangeDetectionStore, update_q, queuedWatchMe 'available_timezones': sorted(available_timezones()), 'browser_steps_config': browser_step_ui_config, 'emailprefix': os.getenv('NOTIFICATION_MAIL_BUTTON_PREFIX', False), + 'extra_classes': 'checking-now' if worker_handler.is_watch_running(uuid) else '', 'extra_notification_token_placeholder_info': datastore.get_unique_notification_token_placeholders_available(), 'extra_processor_config': form.extra_tab_content(), 'extra_title': f" - Edit - {watch.label}", diff --git a/changedetectionio/templates/base.html b/changedetectionio/templates/base.html index 7be30543..365a4c6d 100644 --- a/changedetectionio/templates/base.html +++ b/changedetectionio/templates/base.html @@ -41,7 +41,7 @@ {% endif %} - +