[IMP] theme_anelusia, *: adapt s_key_images
*: theme_aviato, theme_beauty, theme_bewise, theme_bistro, theme_bookstore, theme_buzzy, theme_clean, theme_cobalt, theme_enark, theme_graphene, theme_kea, theme_kiddo, theme_monglia, theme_nano, theme_notes, theme_odoo_experts, theme_orchid, theme_paptic, theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap This commit adapts customizations for `s_key_images`, added in https://github.com/odoo/odoo/pull/177463 task-4105059 Part of task-4077427 closes odoo/design-themes#878 Related: odoo/odoo#177463 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
'views/snippets/s_key_benefits.xml',
|
||||
'views/snippets/s_carousel.xml',
|
||||
'views/snippets/s_image_hexagonal.xml',
|
||||
'views/snippets/s_key_images.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -170,6 +170,28 @@
|
||||
<field name="url">/theme_aviato/static/src/img/content/s_pricelist_boxed_default_background.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Key Images -->
|
||||
<record id="s_key_images_default_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_key_images_default_image_1</field>
|
||||
<field name="name">website.s_key_images_default_image_1</field>
|
||||
<field name="url">/theme_aviato/static/src/img/content/s_wall_01.jpg</field>
|
||||
</record>
|
||||
<record id="s_key_images_default_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_key_images_default_image_2</field>
|
||||
<field name="name">website.s_key_images_default_image_2</field>
|
||||
<field name="url">/theme_aviato/static/src/img/content/s_wall_02.jpg</field>
|
||||
</record>
|
||||
<record id="s_key_images_default_image_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_key_images_default_image_3</field>
|
||||
<field name="name">website.s_key_images_default_image_3</field>
|
||||
<field name="url">/theme_aviato/static/src/img/content/s_wall_03.jpg</field>
|
||||
</record>
|
||||
<record id="s_key_images_default_image_4" model="theme.ir.attachment">
|
||||
<field name="key">website.s_key_images_default_image_4</field>
|
||||
<field name="name">website.s_key_images_default_image_4</field>
|
||||
<field name="url">/theme_aviato/static/src/img/content/s_wall_05.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Image Wall -->
|
||||
<record id="library_image_03" model="theme.ir.attachment">
|
||||
<field name="key">website.library_image_03</field>
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_key_images" inherit_id="website.s_key_images">
|
||||
<!-- Layout -->
|
||||
<xpath expr="//section" 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('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Origins_14_001"/>
|
||||
</xpath>
|
||||
|
||||
<!-- Texts -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Discover Your Next Adventure with Us
|
||||
</xpath>
|
||||
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
||||
Journey to Unforgettable Destinations
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('col-lg-3')]//p[3]" position="replace" mode="inner">
|
||||
Tailor-made experiences for every traveler
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-lg-3')])[2]//p[3]" position="replace" mode="inner">
|
||||
Explore exotic locations with expert guides
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-lg-3')])[3]//p[3]" position="replace" mode="inner">
|
||||
Luxury, comfort, and adventure await you
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('col-lg-3')])[4]//p[3]" position="replace" mode="inner">
|
||||
Your journey to the world’s wonders starts here
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user