mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
b46b356722
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>
19 lines
586 B
XML
19 lines
586 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_image_gallery" inherit_id="website.s_image_gallery">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="s_image_gallery_arrows_boxed" remove="s_image_gallery_arrows_default" separator=" "/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="s_images_wall" inherit_id="website.s_images_wall">
|
|
<!-- First image -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="src">/web/image/website.library_image_19</attribute>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|