Files
design-themes/theme_bistro/views/snippets/s_quotes_carousel.xml
T
Romeo Fragomeli 54cca0eaf6 [REF] *: BS5: migration
Automated change made by a lot of RegEx to change all think that is
possible to automate.

https://getbootstrap.com/docs/5.1/migration

Task ID: 2766483

Part-of: odoo/design-themes#580
2022-07-07 13:29:20 +02:00

46 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Carousel -->
<xpath expr="//*[hasclass('s_quotes_carousel')]" position="attributes">
<attribute name="class" add="s_carousel_rounded oe_img_bg o_bg_img_center" remove="s_carousel_default o_cc o_cc2" separator=" "/>
<attribute name="style">background-image: url('/web/image/website.s_quotes_carousel_demo_image_1');</attribute>
</xpath>
<!-- Slide #01 -->
<xpath expr="//*[hasclass('carousel-item')][1]" position="attributes">
<attribute name="class" add="pt120 pb120" remove="pt80 pb80" separator=" "/>
<attribute name="style">background-image: none;</attribute>
</xpath>
<xpath expr="//blockquote[1]" position="attributes">
<attribute name="class" add="mx-auto" remove="me-auto" separator=" "/>
</xpath>
<xpath expr="//p[1]" position="replace" mode="inner">
Cosy and friendly, good atmosphere and super food. Especially the spiced fruit crumble.
</xpath>
<!-- Slide #02 -->
<xpath expr="//*[hasclass('carousel-item')][2]" position="attributes">
<attribute name="class" add="pt120 pb120" remove="pt80 pb80" separator=" "/>
<attribute name="style">background-image: none;</attribute>
</xpath>
<xpath expr="(//blockquote)[2]" position="attributes">
<attribute name="class" add="mx-auto" remove="me-auto" separator=" "/>
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
This place is perfect for groups or a casual date night.
</xpath>
<!-- Slide #03 -->
<xpath expr="//*[hasclass('carousel-item')][3]" position="attributes">
<attribute name="class" add="pt120 pb120" remove="pt80 pb80" separator=" "/>
<attribute name="style">background-image: none;</attribute>
</xpath>
<xpath expr="(//blockquote)[3]" position="attributes">
<attribute name="class" add="mx-auto" remove="ms-auto" separator=" "/>
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
A truly exquisite dining experience. I highly recommend the Mustard Sauce, out of this world.
</xpath>
</template>
</odoo>