mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[REM] website: remove obsolete s_features templates across themes
The goal of this commit is to remove some obsolete templates of the `s_features` snippet across design themes, due to changes in the redesign that invalidate the need of modifying these specific elements. task-3657631 closes odoo/design-themes#826 Related: odoo/odoo#163577 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -66,12 +66,6 @@
|
||||
<xpath expr="//div[hasclass('o_we_shape')]" position="replace"/>
|
||||
</template>
|
||||
|
||||
<template id="new_page_template_s_features" inherit_id="website.new_page_template_s_features">
|
||||
<xpath expr="//div[hasclass('row')]//div[3]//i" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-2" remove="bg-o-color-3" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="new_page_template_s_product_catalog" inherit_id="website.new_page_template_s_product_catalog">
|
||||
<!-- Remove shape option -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_numbers.xml',
|
||||
'views/snippets/s_color_blocks_2.xml',
|
||||
'views/snippets/s_features.xml',
|
||||
'views/snippets/s_media_list.xml',
|
||||
'views/snippets/s_features_grid.xml',
|
||||
'views/snippets/s_comparisons.xml',
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_features" inherit_id="website.s_features">
|
||||
<!-- First column : icon -->
|
||||
<xpath expr="//div[hasclass('row')]//div//i" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-3" remove="bg-o-color-1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Second column : icon -->
|
||||
<xpath expr="//div[hasclass('row')]//div[2]//i" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-3" remove="bg-o-color-5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Third column : icon -->
|
||||
<xpath expr="//div[hasclass('row')]//div[3]//i" position="attributes">
|
||||
<attribute name="class" add="bg-o-color-3" remove="bg-o-color-2" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user