From ee924e1d0ff21b3f89822f3c423549d120386ae9 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 13 Oct 2023 12:21:26 +0200 Subject: [PATCH] Re #1857 - adding page extra title for edit page --- changedetectionio/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index 8de43f8f..65a8d8e1 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -713,6 +713,7 @@ def changedetection_app(config=None, datastore_o=None): available_processors=processors.available_processors(), browser_steps_config=browser_step_ui_config, emailprefix=os.getenv('NOTIFICATION_MAIL_BUTTON_PREFIX', False), + extra_title=f" - Edit - {watch.title}", form=form, has_default_notification_urls=True if len(datastore.data['settings']['application']['notification_urls']) else False, has_empty_checktime=using_default_check_time, @@ -953,7 +954,7 @@ def changedetection_app(config=None, datastore_o=None): from_version=str(from_version), to_version=str(to_version), extra_stylesheets=extra_stylesheets, - extra_title=" - Diff - {}".format(watch['title'] if watch['title'] else watch['url']), + extra_title=f" - Diff - {watch.title}", extract_form=extract_form, is_html_webdriver=is_html_webdriver, last_error=watch['last_error'],