Files
design-themes/theme_aviato/views/snippets/s_picture.xml
T
Chrysanthe (chgo) 8ff74b77c6 [IMP] theme_*: review s_picture snippet occurrences
The goal of this commit is to fix xpath after the `s_picture` snippet
redesign, and eventually tweak some classes.

task-4047748

closes odoo/design-themes#824

Related: odoo/odoo#172740
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
2024-07-24 10:26:52 +00:00

29 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_picture" inherit_id="website.s_picture">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt72 overflow-hidden o_cc3 bg-o-color-3" remove="pt64" separator=" "/>
</xpath>
<xpath expr="//h2" position="replace" mode="inner">
Our travel agencies
</xpath>
<xpath expr="//img" position="attributes">
<attribute name="style">width: 100%;</attribute>
</xpath>
<xpath expr="//figcaption" position="replace">
<figcaption class="figure-caption text-400"><em>Odoo Travel New York</em></figcaption>
</xpath>
</template>
<template id="configurator_s_picture" inherit_id="website.configurator_s_picture">
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Bold/01","flip":[]}</attribute>
</xpath>
<xpath expr="//section/div" position="before">
<div class="o_we_shape o_web_editor_Bold_07_001"/>
</xpath>
</template>
</odoo>