mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
ace1b39d46
*: theme_bistro, theme_odoo_experts, theme_vehicle, theme_avantgarde, theme_aviato, theme_bookstore, theme_enark, theme_graphene, theme_kea This commit adapts the themes to accommodate layout changes in the s_picture snippet. See also : https://github.com/odoo/odoo/pull/145413 task-3626753 closes odoo/design-themes#753 Related: odoo/odoo#145413 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_picture" inherit_id="website.s_picture">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc3 pt64" remove="o_cc2 pt48 pb24" separator=" "/>
|
|
</xpath>
|
|
<!-- Size -->
|
|
<xpath expr="//div[hasclass('col-lg-12')]" position="attributes">
|
|
<attribute name="class" add="col-lg-8 offset-lg-2" remove="col-lg-12" separator=" "/>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h2" position="replace" mode="inner">
|
|
Today's special
|
|
</xpath>
|
|
<!-- Text -->
|
|
<xpath expr="//p" position="replace" mode="inner">
|
|
Taste our chef's special, an almond macaroon with orange blossom buttercream.
|
|
</xpath>
|
|
<!-- Caption -->
|
|
<xpath expr="//figcaption" position="replace" mode="inner">
|
|
The perfect dessert to share for the table.
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="configurator_s_picture" inherit_id="website.configurator_s_picture">
|
|
<!-- Shape option -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Origins/04_001"}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//div[hasclass('container')]" position="before">
|
|
<div class="o_we_shape o_web_editor_Origins_04_001"/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|