Files
design-themes/theme_yes/views/snippets/s_quotes_carousel.xml
T
Brieuc-brd f66833de41 [IMP] test_themes, *: carousels adaptations
*: theme_anelusia, theme_artists, theme_avantgarde, theme_cobalt,
theme_cobalt, theme_enark, theme_loftspace, theme_notes,
theme_odoo_experts, theme_bewise, theme_bistro, theme_buzzy,
theme_clean, theme_graphene, theme_nano, theme_treehouse, theme_yes,
theme_aviato, theme_beauty, theme_bookstore, theme_kea, theme_kiddo,
theme_monglia, theme_orchid, theme_paptic, theme_real_estate,
theme_vehicle, theme_zap

This commit adapts the customizations related to `s_carousel`,
s_image_gallery` and `s_quotes_carousel` since these snippets has been
redesigned in PR[1].

task-3654328
Part of task-3619705

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

closes odoo/design-themes#836

Related: odoo/odoo#172727
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-27 08:18:59 +00:00

56 lines
3.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
<xpath expr="//div[hasclass('carousel')]" position="attributes">
<attribute name="class" remove="carousel-dark" separator=" "/>
</xpath>
<!-- Quote 1 -->
<xpath expr="//div[hasclass('carousel-item')]" position="attributes">
<attribute name="style" add="background-image: url('/web/image/website.s_quotes_carousel_demo_image_0'); background-position: 50% 25%;" separator="; "/>
</xpath>
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<xpath expr="(//p[hasclass('s_blockquote_quote')])[1]" position="replace" mode="inner">
Thank you so much for being a part of our special day. It was so nice working with you. Without your help the day would not have been as perfect as it was.
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[1]//strong" position="replace" mode="inner">
Linda and Paul
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[1]//span//span" position="replace" mode="inner">
Married in 2020
</xpath>
<!-- Quote 2 -->
<xpath expr="(//*[hasclass('carousel-item')])[2]" position="attributes">
<attribute name="style" add="background-position: 50% 25%;" remove="background-position: 50% 50%;" separator="; "/>
</xpath>
<xpath expr="(//div[hasclass('container')])[2]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//strong" position="replace" mode="inner">
Jack and Mary
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//span//span" position="replace" mode="inner">
Married in 2019
</xpath>
<!-- Quote 3 -->
<xpath expr="(//*[hasclass('carousel-item')])[3]" position="attributes">
<attribute name="style" add="background-position: 50% 20%;" remove="background-position: 50% 50%;" separator="; "/>
</xpath>
<xpath expr="(//div[hasclass('container')])[3]" position="before">
<div class="o_we_bg_filter" style="background-color: rgba(25, 41, 37, 0.55) !important;"/>
</xpath>
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">
From the beginning of our planning process, our planner was incredible! She made us feel heard, gave great suggestions and was always just an email or call away when we had any last minute questions. Couldn't have done it without her!
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[3]//strong" position="replace" mode="inner">
Rose and Peter
</xpath>
<xpath expr="(//div[hasclass('s_blockquote_author')])[3]//span//span" position="replace" mode="inner">
Renewed their vows in 2021
</xpath>
</template>
</odoo>