mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_quotes_carousel_minimal
task-4166189 Part of task-4077427 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -239,6 +239,21 @@
|
||||
<field name="name">website.s_quotes_carousel_demo_image_1</field>
|
||||
<field name="url">/theme_bistro/static/src/img/backgrounds/19.jpg</field>
|
||||
</record>
|
||||
<record id="s_quotes_carousel_demo_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quotes_carousel_demo_image_3</field>
|
||||
<field name="name">website.s_quotes_carousel_demo_image_3</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/company_team_04.jpg</field>
|
||||
</record>
|
||||
<record id="s_quotes_carousel_demo_image_4" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quotes_carousel_demo_image_4</field>
|
||||
<field name="name">website.s_quotes_carousel_demo_image_4</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/company_team_02.jpg</field>
|
||||
</record>
|
||||
<record id="s_quotes_carousel_demo_image_5" model="theme.ir.attachment">
|
||||
<field name="key">website.s_quotes_carousel_demo_image_5</field>
|
||||
<field name="name">website.s_quotes_carousel_demo_image_5</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/company_team_06.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Media List -->
|
||||
<record id="s_media_list_default_image_1" model="theme.ir.attachment">
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_quotes_carousel_minimal" inherit_id="website.s_quotes_carousel_minimal">
|
||||
<!-- Layout -->
|
||||
<xpath expr="//div[hasclass('carousel')]" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Origins/14_001','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-inner')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_14_001"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Texts -->
|
||||
<xpath expr="//p[hasclass('s_blockquote_quote')]" position="replace" mode="inner">
|
||||
" Their dishes are a delight. Fresh, flavorful, and beautifully presented. "
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('s_blockquote_quote')])[2]" position="replace" mode="inner">
|
||||
" A perfect spot for great food. <br/>Cozy atmosphere, excellent service, and delicious meals. "
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">
|
||||
" Exceptional flavors and service! <br/>They made every dining experience unforgettable. "
|
||||
</xpath>
|
||||
<xpath expr="//span[hasclass('text-muted')]" position="replace"/>
|
||||
<xpath expr="//span[hasclass('text-muted')]" position="replace"/>
|
||||
<xpath expr="//span[hasclass('text-muted')]" position="replace"/>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user