[IMP] theme_anelusia, *: adapt s_accordion_image
*: theme_artists, theme_avantgarde, 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, theme_loftspace This commit adapts customizations for `s_accordion_image`, added in https://github.com/odoo/odoo/pull/176768 task-4094398 Part of task-4077427 closes odoo/design-themes#870 Related: odoo/odoo#176768 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
'views/snippets/s_features.xml',
|
||||
'views/snippets/s_image_gallery.xml',
|
||||
'views/snippets/s_unveil.xml',
|
||||
'views/snippets/s_accordion_image.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -260,5 +260,10 @@ Check in primary_variables.scss, theme.scss and theme_common's mixins.scss -->
|
||||
<field name="name">website.s_banner_default_image_3</field>
|
||||
<field name="url">/theme_kea/static/src/img/snippets/s_banner_3.jpg</field>
|
||||
</record>
|
||||
<record id="s_accordion_image_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_accordion_image_default_image</field>
|
||||
<field name="name">website.s_accordion_image_default_image</field>
|
||||
<field name="url">/theme_kea/static/src/img/snippets/s_media_list_2.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_accordion_image" inherit_id="website.s_accordion_image">
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="pb128" remove="pb56" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Wavy/13_001','colors':{'c1':'o-color-2'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Wavy_13_001" style="background-image: url('/web_editor/shape/web_editor/Wavy/13_001.svg?c1=o-color-2');"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user