[FIX] *: fix "s_features" snippet overrides for new page templates
*: theme_artists, theme_buzzy, theme_loftspace, theme_yes The community "s_features" snippet for a specific new page template was broken (missing all its classes). This commit adapts the related themes overrides following the fix of that snippet (note that these overrides were also broken by themselves). Related to task-4373543 Part-of: odoo/design-themes#1054 Related: odoo/odoo#189299 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -151,12 +151,6 @@
|
|||||||
|
|
||||||
<!-- Snippet customization Landing Pages -->
|
<!-- Snippet customization Landing Pages -->
|
||||||
|
|
||||||
<template id="new_page_template_landing_s_features" inherit_id="website.new_page_template_landing_s_features">
|
|
||||||
<xpath expr="//section" position="attributes">
|
|
||||||
<attribute name="class" add="o_cc4" separator=" "/>
|
|
||||||
</xpath>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<template id="new_page_template_landing_s_text_image" inherit_id="website.new_page_template_landing_s_text_image">
|
<template id="new_page_template_landing_s_text_image" inherit_id="website.new_page_template_landing_s_text_image">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" remove="pb56" separator=" "/>
|
<attribute name="class" remove="pb56" separator=" "/>
|
||||||
|
|||||||
@@ -209,7 +209,7 @@
|
|||||||
|
|
||||||
<template id="new_page_template_landing_s_features" inherit_id="website.new_page_template_landing_s_features">
|
<template id="new_page_template_landing_s_features" inherit_id="website.new_page_template_landing_s_features">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_cc2" separator=" "/>
|
<attribute name="class" add="o_cc2" remove="o_cc5" separator=" "/>
|
||||||
<attribute name="data-oe-shape-data"/>
|
<attribute name="data-oe-shape-data"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<!-- Remove shape -->
|
<!-- Remove shape -->
|
||||||
|
|||||||
@@ -30,14 +30,6 @@
|
|||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- Landing -->
|
|
||||||
|
|
||||||
<template id="new_page_template_landing_s_features" inherit_id="website.new_page_template_landing_s_features">
|
|
||||||
<xpath expr="//section" position="attributes">
|
|
||||||
<attribute name="class" add="pt48" separator=" "/>
|
|
||||||
</xpath>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<!-- Gallery -->
|
<!-- Gallery -->
|
||||||
|
|
||||||
<template id="new_page_template_gallery_s_banner" inherit_id="website.new_page_template_gallery_s_banner">
|
<template id="new_page_template_gallery_s_banner" inherit_id="website.new_page_template_gallery_s_banner">
|
||||||
|
|||||||
@@ -139,12 +139,6 @@
|
|||||||
|
|
||||||
<!-- Snippet customization Landing Pages -->
|
<!-- Snippet customization Landing Pages -->
|
||||||
|
|
||||||
<template id="new_page_template_landing_s_features" inherit_id="website.new_page_template_landing_s_features">
|
|
||||||
<xpath expr="//section" position="attributes">
|
|
||||||
<attribute name="class" add="o_cc2" separator=" "/>
|
|
||||||
</xpath>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<template id="new_page_template_landing_s_text_image" inherit_id="website.new_page_template_landing_s_text_image">
|
<template id="new_page_template_landing_s_text_image" inherit_id="website.new_page_template_landing_s_text_image">
|
||||||
<xpath expr="//section" position="attributes">
|
<xpath expr="//section" position="attributes">
|
||||||
<attribute name="class" add="o_cc2" separator=" "/>
|
<attribute name="class" add="o_cc2" separator=" "/>
|
||||||
|
|||||||
Reference in New Issue
Block a user