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:
@@ -32,6 +32,7 @@
|
||||
'views/snippets/s_picture.xml',
|
||||
'views/snippets/s_freegrid.xml',
|
||||
'views/snippets/s_quotes_carousel.xml',
|
||||
'views/snippets/s_quotes_carousel_minimal.xml',
|
||||
'views/snippets/s_tabs.xml',
|
||||
'views/snippets/s_text_block.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
|
||||
@@ -288,6 +288,21 @@
|
||||
<field name="name">website.s_quotes_carousel_default_image_1</field>
|
||||
<field name="url">/theme_treehouse/static/src/img/content/quotes_carousel.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_treehouse/static/src/img/content/company_team_03.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_treehouse/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_treehouse/static/src/img/content/company_team_04.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Image Gallery -->
|
||||
<record id="library_image_08" 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/05','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('carousel-inner')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_05"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Texts -->
|
||||
<xpath expr="//p[hasclass('s_blockquote_quote')]" position="replace" mode="inner">
|
||||
" Their impact on conservation is profound. <br/>Innovative, effective, and dedicated to the environment. "
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('s_blockquote_quote')])[2]" position="replace" mode="inner">
|
||||
" A leader in environmental protection. <br/>Committed, knowledgeable, and always striving for sustainability. "
|
||||
</xpath>
|
||||
<xpath expr="(//p[hasclass('s_blockquote_quote')])[3]" position="replace" mode="inner">
|
||||
" Outstanding efforts and results! <br/>They consistently advance our mission to protect the planet. "
|
||||
</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