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:
@@ -17,6 +17,7 @@
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_company_team.xml',
|
||||
'views/snippets/s_comparisons_horizontal.xml',
|
||||
'views/snippets/s_striped_top.xml',
|
||||
'views/snippets/s_features.xml',
|
||||
'views/snippets/s_sidegrid.xml',
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_comparisons_horizontal" inherit_id="website.s_comparisons_horizontal">
|
||||
<!-- Card 1 -->
|
||||
<xpath expr="//div[hasclass('s_card')]" position="attributes">
|
||||
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Card 2 -->
|
||||
<xpath expr="(//div[hasclass('s_card')])[2]" position="attributes">
|
||||
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user