Files
design-themes/theme_orchid/views/snippets/s_image_text.xml
T
Mathieu (mano) 8ee2b3ac77 [FIX] theme_*: adapt svg shapes paths
In commit [1] some of the shapes have been moved to new folder or have
been renamed.

This commit adapt the paths of the previous shapes to their new location
in various themes.

[1]: https://github.com/odoo/odoo/commit/934069f834534ca3553ed28e46e5619c33463e50

task-3266705

closes odoo/design-themes#641

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-04-06 19:16:46 +02:00

40 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_text" inherit_id="website.s_image_text">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc2 pb104" remove="pb32" separator=" "/>
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/04","flip":["x"]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_04 o_we_flip_x"/>
</xpath>
<!-- Text wrapper -->
<xpath expr="//div[hasclass('col-lg-6')][2]" position="attributes">
<attribute name="class" add="col-lg-5 offset-lg-1" remove="col-lg-6" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
The Orchid Concept
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace" mode="inner">
<br/>
</xpath>
<xpath expr="//p[2]" position="replace" mode="inner">
From your local producer to your door, discover how we deliver our multiple sorts of flowers and bring you happiness.
</xpath>
<!-- Img -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web_editor/image_shape/website.s_image_text_default_image/web_editor/composition/composition_mixed_1.svg?c1=o-color-2&amp;c2=o-color-2&amp;c5=o-color-5</attribute>
<attribute name="data-shape">web_editor/composition/composition_mixed_1</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">s_carousel_2.svg</attribute>
<attribute name="data-shape-colors">o-color-2;o-color-2;;;o-color-5</attribute>
</xpath>
</template>
</odoo>