From 93c576065b4ff1b513820820273b8c7bc849a92a Mon Sep 17 00:00:00 2001 From: "Robin Lejeune (role)" Date: Thu, 16 Oct 2025 10:53:40 +0200 Subject: [PATCH 1/2] [IMP] theme_anelusia: adapt to new img indicators for gallery Now, the gallery indicators are `img` tags instead of using background images. This is done to allow the translation of the indicator images. task-3626918 --- theme_anelusia/views/snippets/s_image_gallery.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme_anelusia/views/snippets/s_image_gallery.xml b/theme_anelusia/views/snippets/s_image_gallery.xml index 0efd933cc3..602c22119d 100644 --- a/theme_anelusia/views/snippets/s_image_gallery.xml +++ b/theme_anelusia/views/snippets/s_image_gallery.xml @@ -22,8 +22,8 @@ /web/image/website.library_image_16 - - background-image: url(/web/image/website.library_image_16) + + /web/image/website.library_image_16 From c5c1e49be007a8325076aad2dcba4688085daddb Mon Sep 17 00:00:00 2001 From: "Robin Lejeune (role)" Date: Mon, 27 Oct 2025 16:29:10 +0100 Subject: [PATCH 2/2] [IMP] theme_*: replace href xpath *: theme_enark, theme_kiddo, theme_loftspace, theme_monglia PR [229750] introduces a way to translate `src` and `href` attributes, to be able to replace an image or a document in other languages. As those attributes are now translatable, they can't be used in xpath expressions anymore: their values are not reliable given that they can change. [229750]: https://github.com/odoo/odoo/pull/229750 task-3626918 --- theme_enark/views/snippets/s_cover.xml | 2 +- theme_kiddo/views/snippets/s_cover.xml | 2 +- theme_loftspace/views/snippets/s_cover.xml | 2 +- theme_monglia/views/customizations.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/theme_enark/views/snippets/s_cover.xml b/theme_enark/views/snippets/s_cover.xml index af81de65c4..83c888e77d 100644 --- a/theme_enark/views/snippets/s_cover.xml +++ b/theme_enark/views/snippets/s_cover.xml @@ -2,7 +2,7 @@ diff --git a/theme_kiddo/views/snippets/s_cover.xml b/theme_kiddo/views/snippets/s_cover.xml index bea71406c5..da6d324c32 100644 --- a/theme_kiddo/views/snippets/s_cover.xml +++ b/theme_kiddo/views/snippets/s_cover.xml @@ -47,7 +47,7 @@ - + diff --git a/theme_loftspace/views/snippets/s_cover.xml b/theme_loftspace/views/snippets/s_cover.xml index a43c92cfe3..24c1d106ce 100644 --- a/theme_loftspace/views/snippets/s_cover.xml +++ b/theme_loftspace/views/snippets/s_cover.xml @@ -24,7 +24,7 @@ - + diff --git a/theme_monglia/views/customizations.xml b/theme_monglia/views/customizations.xml index 0f6e5dc782..4b8d2892dc 100644 --- a/theme_monglia/views/customizations.xml +++ b/theme_monglia/views/customizations.xml @@ -54,7 +54,7 @@ GET TICKETS NOW - +