Files
design-themes/theme_kiddo/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

37 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<!-- Carousel item n°1 -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="class" add="pt128 pb128" remove="pt80 pb80" separator=" "/>
</xpath>
<xpath expr="//i" position="attributes">
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
</xpath>
<!-- Carousel item n°2 -->
<xpath expr="(//div[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="class" add="pt128 pb128" remove="pt80 pb80" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[2]" position="attributes">
<attribute name="class" add="mx-auto" remove="me-auto" separator=" "/>
</xpath>
<xpath expr="(//i)[2]" position="attributes">
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
</xpath>
<!-- Carousel item n°3 -->
<xpath expr="(//div[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="class" add="pt128 pb128" remove="pt80 pb80" separator=" "/>
</xpath>
<xpath expr="(//blockquote)[3]" position="attributes">
<attribute name="class" add="mx-auto" remove="ms-auto" separator=" "/>
</xpath>
<xpath expr="(//i)[3]" position="attributes">
<attribute name="class" add="rounded-circle" remove="rounded" separator=" "/>
</xpath>
</template>
</odoo>