[FIX] theme_notes, theme_odoo_experts: fix "Image Gallery" arrows class

Commit [1] adapted the "Image Gallery" new design for the different
themes. In the `notes` and `odoo_experts` themes, the `s_image_gallery_
indicators_arrows_boxed` class was added, in order to have squared
arrows. However, this class does not exist, as the correct one is
`s_image_gallery_arrows_boxed`. This made the arrows stay as the default
ones in these themes.

Moreover, the default arrow class `s_image_gallery_arrows_default` was
not removed in the xpath, making the two classes coexist.

This commit fixes these class issues.

[1]: https://github.com/odoo/design-themes/commit/f66833de41f757c65ecf660f7bbc033b6dc64d6a

Related to task-3654328

closes odoo/design-themes#909

Related: odoo/odoo#180238
Signed-off-by: Colin Louis (loco) <loco@odoo.com>
This commit is contained in:
Soukéina Bojabza
2024-09-13 21:18:47 +02:00
parent 786b968151
commit b46b356722
2 changed files with 2 additions and 2 deletions
@@ -4,7 +4,7 @@
<template id="s_image_gallery" inherit_id="website.s_image_gallery">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="s_image_gallery_indicators_arrows_boxed" separator=" "/>
<attribute name="class" add="s_image_gallery_arrows_boxed" remove="s_image_gallery_arrows_default" separator=" "/>
</xpath>
</template>