From 12566ed7eec5a4f95cbf91cbfdcb22bff6f2a7ad Mon Sep 17 00:00:00 2001 From: "Serge Bayet (seba)" Date: Thu, 4 Jul 2024 10:59:20 +0200 Subject: [PATCH] [REF] website, *: migrate from deprecated t-esc to t-out *: test_website, website_* This commit updates all instances of the deprecated t-esc attribute within the website modules to use the recommended t-out attribute. The JavaScript side remains untouched. See also : odoo/design-themes#804 task-3573251 --- .../test_website/data/test_website_data.xml | 4 +- addons/website/data/website_demo.xml | 40 ++-- .../static/src/snippets/s_searchbar/000.xml | 2 +- addons/website/static/src/xml/website.xml | 8 +- .../website/static/src/xml/website_form.xml | 2 +- .../static/src/xml/website_form_editor.xml | 16 +- addons/website/tests/test_http_endpoint.py | 2 +- addons/website/tests/test_page.py | 2 +- .../views/snippets/s_call_to_action.xml | 2 +- addons/website/views/snippets/s_cover.xml | 4 +- .../views/snippets/s_dynamic_snippet.xml | 2 +- .../s_mega_menu_big_icons_subtitles.xml | 4 +- .../views/snippets/s_mega_menu_cards.xml | 2 +- .../snippets/s_mega_menu_images_subtitles.xml | 4 +- .../snippets/s_mega_menu_menu_image_menu.xml | 4 +- .../snippets/s_mega_menu_multi_menus.xml | 4 +- .../views/snippets/s_mega_menu_thumbnails.xml | 2 +- .../website/views/snippets/s_text_cover.xml | 2 +- addons/website/views/snippets/snippets.xml | 10 +- addons/website/views/website_templates.xml | 48 ++--- addons/website/views/website_views.xml | 4 +- addons/website_blog/data/mail_templates.xml | 2 +- .../views/website_blog_components.xml | 18 +- .../views/website_blog_posts_loop.xml | 18 +- .../views/website_blog_templates.xml | 24 +-- .../data/crm_lead_merge_template.xml | 2 +- .../website_crm_partner_assign_templates.xml | 22 +-- addons/website_forum/data/mail_templates.xml | 6 +- .../static/src/xml/public_templates.xml | 4 +- .../views/base_contact_templates.xml | 10 +- .../views/website_links_graphs.xml | 16 +- .../views/website_livechat.xml | 20 +- .../views/snippets_templates.xml | 2 +- .../views/website_membership_templates.xml | 8 +- .../src/snippets/s_donation/options.xml | 6 +- .../website_profile/views/website_profile.xml | 44 ++--- .../data/product_snippet_template_data.xml | 4 +- .../views/product_configurator.xml | 172 ++++++++++++++++++ .../website_sale/views/snippets/snippets.xml | 2 +- addons/website_sale/views/templates.xml | 70 +++---- .../website_sale_comparison_template.xml | 10 +- .../views/website_sale_templates.xml | 18 +- .../views/website_sale_templates.xml | 2 +- .../views/website_slides_templates.xml | 8 +- .../data/template_email.xml | 6 +- ...ebsite_sale_stock_product_availability.xml | 6 +- .../views/website_sale_wishlist_template.xml | 4 +- addons/website_slides/data/mail_templates.xml | 12 +- .../static/src/xml/slide_course_join.xml | 4 +- .../static/src/xml/slide_quiz.xml | 12 +- .../static/src/xml/slide_quiz_create.xml | 2 +- .../views/website_slides_templates_course.xml | 68 +++---- .../website_slides_templates_homepage.xml | 38 ++-- .../views/website_slides_templates_lesson.xml | 38 ++-- .../website_slides_templates_lesson_embed.xml | 6 +- ...ite_slides_templates_lesson_fullscreen.xml | 10 +- .../website_slides_templates_profile.xml | 4 +- .../views/website_slides_templates_utils.xml | 2 +- .../views/website_profile.xml | 10 +- 59 files changed, 525 insertions(+), 353 deletions(-) create mode 100644 addons/website_sale/views/product_configurator.xml diff --git a/addons/test_website/data/test_website_data.xml b/addons/test_website/data/test_website_data.xml index 14c74255453d5..0d91aa91e051f 100644 --- a/addons/test_website/data/test_website_data.xml +++ b/addons/test_website/data/test_website_data.xml @@ -132,8 +132,8 @@ diff --git a/addons/website/data/website_demo.xml b/addons/website/data/website_demo.xml index d7d4fec141d72..7842adc4b406d 100644 --- a/addons/website/data/website_demo.xml +++ b/addons/website/data/website_demo.xml @@ -19,34 +19,34 @@

Badge

- +

Link

- +

Autosizing

- +

Button

- +
Outline
- +
Small
- +
Large
- +
Group
@@ -314,7 +314,7 @@
- This is a "" alert with a link. + This is a "" alert with a link.
@@ -363,42 +363,42 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -484,7 +484,7 @@
-
o-color-
+
o-color-
@@ -495,7 +495,7 @@
-
+
@@ -510,7 +510,7 @@

- Preset + Preset

Paragraph text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Link text

Text muted. Lorem ipsum dolor sit amet, consectetur.

@@ -540,7 +540,7 @@

Paragraph. text link

- +
@@ -569,8 +569,8 @@
diff --git a/addons/website/static/src/snippets/s_searchbar/000.xml b/addons/website/static/src/snippets/s_searchbar/000.xml index 9b7eb09ce47c1..d47225d98e2c9 100644 --- a/addons/website/static/src/snippets/s_searchbar/000.xml +++ b/addons/website/static/src/snippets/s_searchbar/000.xml @@ -6,7 +6,7 @@ class="o_dropdown_menu show position-absolute w-100"> - No results found for ''. Showing results for ''. + No results found for ''. Showing results for ''. diff --git a/addons/website/static/src/xml/website.xml b/addons/website/static/src/xml/website.xml index 72001cee845f4..e89c549815989 100644 --- a/addons/website/static/src/xml/website.xml +++ b/addons/website/static/src/xml/website.xml @@ -5,14 +5,14 @@ diff --git a/addons/website/static/src/xml/website_form.xml b/addons/website/static/src/xml/website_form.xml index 856d20298a0c6..3a0b16e253024 100644 --- a/addons/website/static/src/xml/website_form.xml +++ b/addons/website/static/src/xml/website_form.xml @@ -12,7 +12,7 @@

- Contact us + Contact us