mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_comparisons_horizontal to themes
*: theme_anelusia, theme_artists, theme_avantgarde, theme_aviato, theme_beauty, theme_bistro, theme_enark, theme_kea, theme_loftspace, theme_monglia, theme_nano, theme_notes, theme_orchid, theme_treehouse, theme_vehicle, theme_yes, theme_zap This commit adapts the themes to the new `s_comparisons_horizontal` snippet. task-4105264 Part of task-4077427 closes odoo/design-themes#992 Related: odoo/odoo#184281 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_striped_top.xml',
|
||||
'views/snippets/s_card_offset.xml',
|
||||
'views/snippets/s_comparisons_horizontal.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_images_mosaic.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_comparisons_horizontal" inherit_id="website.s_comparisons_horizontal">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc2" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{"shape":"web_editor/Floats/04","flip":[]}</attribute>
|
||||
</xpath>
|
||||
<!-- Shape -->
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Floats_04"/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user