mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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>
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
'views/snippets/s_unveil.xml',
|
||||
'views/snippets/s_accordion_image.xml',
|
||||
'views/snippets/s_key_benefits.xml',
|
||||
'views/snippets/s_carousel.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_carousel" inherit_id="website.s_carousel">
|
||||
<xpath expr="(//div[hasclass('carousel-item')])[3]//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_bg_filter bg-black-50"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
@@ -3,8 +3,11 @@
|
||||
|
||||
<template id="s_quotes_carousel" inherit_id="website.s_quotes_carousel">
|
||||
<!-- Quote 1 -->
|
||||
<xpath expr="//blockquote" position="attributes">
|
||||
<attribute name="class" add="w-75" remove="w-50" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('s_blockquote_quote')])[1]" position="replace" mode="inner">
|
||||
It's difficult to describe how awesome the trip was. I feel like my life has changed forever. It would take too long to describe day by day the sights, sounds, architecture, art, food, history, and people that we came across. Ireland was fantastic.
|
||||
It would take too long to describe day by day the sights, sounds, and people that we came across. Ireland was fantastic.
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('s_blockquote_author')])[1]//strong" position="replace" mode="inner">
|
||||
Linda and Paulo
|
||||
@@ -14,7 +17,7 @@
|
||||
</xpath>
|
||||
<!-- Quote 2 -->
|
||||
<xpath expr="(//p[hasclass('s_blockquote_quote')])[2]" position="replace" mode="inner">
|
||||
As always, Odoo Travel has delivered a truly wonderful travel experience for us. Norway was a great travel destination. The parts of the country we visited were beautiful, people were friendly, everything we ate was delicious, and there were many fun things to see and do.
|
||||
The parts of the country we visited were beautiful, people were friendly, everything we ate was delicious, and there were many fun things to see and do.
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('s_blockquote_author')])[2]//strong" position="replace" mode="inner">
|
||||
Jacques and Marie
|
||||
@@ -24,7 +27,7 @@
|
||||
</xpath>
|
||||
<!-- Quote 3 -->
|
||||
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">
|
||||
We would like to thank Odoo Travel for organising wonderful tour for us in Delhi, Agra and Rajasthan. Everything was very well organised. Thank you very much for everything!
|
||||
Everything was very well organised. Thank you very much for everything!
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('s_blockquote_author')])[3]//strong" position="replace" mode="inner">
|
||||
Rose and Peter
|
||||
|
||||
Reference in New Issue
Block a user