From 1a0f32e9db7f9c1bac6dbd000ad4293e60ea2869 Mon Sep 17 00:00:00 2001 From: Daniel Gergely Date: Thu, 5 Mar 2026 15:39:43 +0100 Subject: [PATCH 1/9] [T3038] FIX: changed tab names to MyCompassion - FEAT: created an override template for titles in all MyCompassion pages - FEAT: added template override to manifest --- my_compassion/__manifest__.py | 1 + my_compassion/templates/website_title_override.xml | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 my_compassion/templates/website_title_override.xml diff --git a/my_compassion/__manifest__.py b/my_compassion/__manifest__.py index e4bbef98..2e5d1b14 100644 --- a/my_compassion/__manifest__.py +++ b/my_compassion/__manifest__.py @@ -52,6 +52,7 @@ "templates/login_template.xml", "templates/signup.xml", "templates/my2_change_password.xml", + "templates/website_title_override.xml", "views/correspondence_template_view.xml", "views/my2_event_banner_views.xml", "views/partner_compassion_view.xml", diff --git a/my_compassion/templates/website_title_override.xml b/my_compassion/templates/website_title_override.xml new file mode 100644 index 00000000..1ff86ff0 --- /dev/null +++ b/my_compassion/templates/website_title_override.xml @@ -0,0 +1,9 @@ + + + + + From ccddca59974d0a4a12c63a79829847b71c736226 Mon Sep 17 00:00:00 2001 From: Daniel Gergely Date: Thu, 5 Mar 2026 15:54:50 +0100 Subject: [PATCH 2/9] [T3038] REFACTOR: changed template global override to record - REFACTOR: using record with website filter to avoid global override and replace command --- .../templates/website_title_override.xml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/my_compassion/templates/website_title_override.xml b/my_compassion/templates/website_title_override.xml index 1ff86ff0..c2026a56 100644 --- a/my_compassion/templates/website_title_override.xml +++ b/my_compassion/templates/website_title_override.xml @@ -1,9 +1,15 @@ - - + + + MyCompassion Layout Title + + + qweb + + + MyCompassion + + + From f9670706f2b7ab7083b7a81f8c2ef95c4bff59aa Mon Sep 17 00:00:00 2001 From: Daniel Gergely Date: Thu, 5 Mar 2026 16:04:13 +0100 Subject: [PATCH 3/9] [T3038] FIX: using attributes + t-esc instead of replace pre-commit complained again as usual --- my_compassion/templates/website_title_override.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/my_compassion/templates/website_title_override.xml b/my_compassion/templates/website_title_override.xml index c2026a56..cff37364 100644 --- a/my_compassion/templates/website_title_override.xml +++ b/my_compassion/templates/website_title_override.xml @@ -6,9 +6,10 @@ qweb + 99 - - MyCompassion + + 'MyCompassion' From daafe38d74ac03a940bf44e5e04a43490f61a53a Mon Sep 17 00:00:00 2001 From: Daniel Gergely Date: Fri, 6 Mar 2026 16:07:22 +0100 Subject: [PATCH 4/9] [T3038] REFACTOR: added title to pages - REFACTOR: applied Page Title to all mycompassion pages --- my_compassion/__manifest__.py | 1 - my_compassion/templates/login_template.xml | 2 ++ my_compassion/templates/my2_change_password.xml | 2 ++ my_compassion/templates/pages/my2_add_a_gift.xml | 2 ++ .../templates/pages/my2_child_letters.xml | 2 ++ .../templates/pages/my2_child_timeline.xml | 2 ++ my_compassion/templates/pages/my2_children.xml | 2 ++ my_compassion/templates/pages/my2_dashboard.xml | 2 ++ .../templates/pages/my2_donation_details.xml | 2 ++ my_compassion/templates/pages/my2_donations.xml | 2 ++ .../templates/pages/my2_gift_package.xml | 2 ++ my_compassion/templates/pages/my2_gifts.xml | 2 ++ .../templates/pages/my2_gifts_thank_you.xml | 2 ++ .../templates/pages/my2_login_template.xml | 2 ++ my_compassion/templates/pages/my2_new_letter.xml | 2 ++ .../pages/my2_new_sponsorship_wizard.xml | 4 ++++ .../templates/pages/my2_sponsorships.xml | 2 ++ .../templates/pages/my2_user_settings.xml | 2 ++ .../templates/website_title_override.xml | 16 ---------------- 19 files changed, 36 insertions(+), 17 deletions(-) delete mode 100644 my_compassion/templates/website_title_override.xml diff --git a/my_compassion/__manifest__.py b/my_compassion/__manifest__.py index 2e5d1b14..e4bbef98 100644 --- a/my_compassion/__manifest__.py +++ b/my_compassion/__manifest__.py @@ -52,7 +52,6 @@ "templates/login_template.xml", "templates/signup.xml", "templates/my2_change_password.xml", - "templates/website_title_override.xml", "views/correspondence_template_view.xml", "views/my2_event_banner_views.xml", "views/partner_compassion_view.xml", diff --git a/my_compassion/templates/login_template.xml b/my_compassion/templates/login_template.xml index ba1c5981..fa3d820b 100644 --- a/my_compassion/templates/login_template.xml +++ b/my_compassion/templates/login_template.xml @@ -19,6 +19,8 @@