Files
design-themes/theme_orchid/views/snippets/s_quotes_carousel.xml
T
Brieuc-brd f1b15e063f [IMP] theme_artists,* : s_quotes_carousel adaptations
This commit removes the `s_quotes_carousel` customization since this
snippets has been redesigned in PR[1].

task-3658347

[1]: https://github.com/odoo/odoo/pull/172723

closes odoo/design-themes#828

Related: odoo/odoo#172723
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-23 10:18:56 +00:00

61 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Quotes carousel -->
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
</xpath>
<!-- Quote 1 -->
<xpath expr="(//p[hasclass('s_blockquote_quote')])[1]" position="replace" mode="inner">
A wide range of high quality products and a warm welcome! I recommend this shop 200%!
</xpath>
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" add="pt200 pb200" remove="pt80 pb80" separator=" "/>
<!-- Remove background image -->
<attribute name="style"/>
</xpath>
<xpath expr="(//i[hasclass('s_blockquote_icon')])[1]" position="attributes">
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-1" separator=" "/>
</xpath>
<!-- Quote 2 -->
<xpath expr="(//p[hasclass('s_blockquote_quote')])[2]" position="replace" mode="inner">
Very nice, colorful shop with many choices in the heart of a very pretty town.
</xpath>
<xpath expr="//div[hasclass('carousel-item')][2]" position="attributes">
<attribute name="class" add="pt200 pb200" remove="pt80 pb80" separator=" "/>
<!-- Remove background image -->
<attribute name="style"/>
</xpath>
<xpath expr="(//i[hasclass('s_blockquote_icon')])[2]" position="attributes">
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-1" separator=" "/>
</xpath>
<!-- Quote 3 -->
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">
A small shop with a very large selection of roses. Nice prices and above all a very professional and friendly welcome.
</xpath>
<xpath expr="//div[hasclass('carousel-item')][3]" position="attributes">
<attribute name="class" add="pt200 pb200" remove="pt80 pb80" separator=" "/>
<!-- Remove background image -->
<attribute name="style"/>
</xpath>
<xpath expr="(//i[hasclass('s_blockquote_icon')])[3]" position="attributes">
<attribute name="class" add="bg-o-color-5" remove="bg-o-color-1" separator=" "/>
</xpath>
</template>
<template id="configurator_s_quotes_carousel" inherit_id="website.configurator_s_quotes_carousel">
<!-- Shape option -->
<xpath expr="//div[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/22","flip":[]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//ol[hasclass('carousel-indicators')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_22"/>
</xpath>
</template>
</odoo>