From a7b52df4b88c0e35d707f602fa217deb1768a4cc Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 8 Feb 2025 17:20:58 +0100 Subject: [PATCH 1/2] Re #2939 - Fix mute/unmute alt/title label --- changedetectionio/templates/watch-overview.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/changedetectionio/templates/watch-overview.html b/changedetectionio/templates/watch-overview.html index d6632cbed5c..d4a70f53a51 100644 --- a/changedetectionio/templates/watch-overview.html +++ b/changedetectionio/templates/watch-overview.html @@ -108,7 +108,8 @@ {% else %} UnPause checks {% endif %} - Mute notifications + {% set mute_label = 'Mute notification' if watch.notification_muted else 'UnMute notification' %} + {{ mute_label }} {{watch.title if watch.title is not none and watch.title|length > 0 else watch.url}} From abdfd25318fa3b6d77d763c103df9779bf54c6ee Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sat, 8 Feb 2025 17:22:39 +0100 Subject: [PATCH 2/2] oops --- changedetectionio/templates/watch-overview.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/templates/watch-overview.html b/changedetectionio/templates/watch-overview.html index d4a70f53a51..3cdaaf5b7e5 100644 --- a/changedetectionio/templates/watch-overview.html +++ b/changedetectionio/templates/watch-overview.html @@ -108,7 +108,7 @@ {% else %} UnPause checks {% endif %} - {% set mute_label = 'Mute notification' if watch.notification_muted else 'UnMute notification' %} + {% set mute_label = 'UnMute notification' if watch.notification_muted else 'Mute notification' %} {{ mute_label }} {{watch.title if watch.title is not none and watch.title|length > 0 else watch.url}}