Files
design-themes/theme_notes/views/snippets/s_image_gallery.xml
T
Brieuc-brd f1215976c0 [IMP] theme_anelusia, *: adapts background shapes
*: theme_artists, theme_aviato, theme_beauty, theme_bewise,
theme_bistro, theme_bookstore,theme_buzzy, theme_clean, theme_cobalt,
theme_enark, theme_graphene, theme_kea, theme_kiddo, theme_loftspace,
theme_monglia, theme_nano, theme_notes, theme_odoo_experts,
theme_orchid, theme_paptic, theme_real_estate, theme_treehouse,
theme_vehicle, theme_zap

This commit adapts background shapes in theme customizations where
shapes have been removed, changed or added during the refactoring of
background shapes.

task-4372655

closes odoo/design-themes#1051

Related: odoo/odoo#190682
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2025-03-29 18:44:25 +00:00

38 lines
1.7 KiB
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">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pb80" remove="pt24 pb24" separator=" "/>
<attribute name="data-oe-shape-data" add="{'shape':'web_editor/Bold/14','colors':{'c5':'o-color-1','c1':'o-color-1'},'showOnMobile':false,'shapeAnimationSpeed':'0'}"/>
</xpath>
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Bold_14" style="background-image: url('/web_editor/shape/web_editor/Bold/14.svg?c5=o-color-1&amp;c1=o-color-1');"/>
</xpath>
<xpath expr="//div[hasclass('row')]/." position="before">
<div class="col-lg-12">
<h2 style="text-align: center;"><span class="o_text_highlight o_text_highlight_underline o_translate_inline" style="--text-highlight-color: var(--o-color-4); --text-highlight-width: 3px;">Band Gallery</span></h2>
<p>
<br/>
</p>
</div>
</xpath>
<!-- First image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.library_image_19</attribute>
</xpath>
<!-- Third image -->
<xpath expr="(//img)[3]" position="attributes">
<attribute name="src">/web/image/website.s_cover_default_image</attribute>
</xpath>
</template>
</odoo>