mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt themes with new s_cta_mobile snippet
*: artists, nano This commit adapts the design of new `s_cta_mobile` snippet for multiple themes. Part of task-4077427 task-4094393 closes odoo/design-themes#1019 Related: odoo/odoo#185635 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -98,6 +98,7 @@
|
|||||||
'views/snippets/s_title_form.xml',
|
'views/snippets/s_title_form.xml',
|
||||||
'views/snippets/s_unveil.xml',
|
'views/snippets/s_unveil.xml',
|
||||||
'views/snippets/s_empowerment.xml',
|
'views/snippets/s_empowerment.xml',
|
||||||
|
'views/snippets/s_cta_mobile.xml',
|
||||||
'views/new_page_template.xml',
|
'views/new_page_template.xml',
|
||||||
],
|
],
|
||||||
'images': [
|
'images': [
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
|
||||||
|
<template id="s_cta_mobile" inherit_id="website.s_cta_mobile">
|
||||||
|
<!-- Section -->
|
||||||
|
<xpath expr="//section" position="attributes">
|
||||||
|
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
<!-- Background -->
|
||||||
|
<xpath expr="//div[hasclass('col-lg-12')]" position="attributes">
|
||||||
|
<attribute name="class" remove="o_cc2" add="o_cc4" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
</odoo>
|
||||||
@@ -46,6 +46,7 @@
|
|||||||
'views/snippets/s_numbers.xml',
|
'views/snippets/s_numbers.xml',
|
||||||
'views/snippets/s_image_text_overlap.xml',
|
'views/snippets/s_image_text_overlap.xml',
|
||||||
'views/snippets/s_company_team_basic.xml',
|
'views/snippets/s_company_team_basic.xml',
|
||||||
|
'views/snippets/s_cta_mobile.xml',
|
||||||
'views/new_page_template.xml',
|
'views/new_page_template.xml',
|
||||||
],
|
],
|
||||||
'images': [
|
'images': [
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
|
||||||
|
<template id="s_cta_mobile" inherit_id="website.s_cta_mobile">
|
||||||
|
<!-- Section -->
|
||||||
|
<xpath expr="//section" position="attributes">
|
||||||
|
<attribute name="class" add="o_cc o_cc4" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
<!-- Background -->
|
||||||
|
<xpath expr="//div[hasclass('col-lg-12')]" position="attributes">
|
||||||
|
<attribute name="class" remove="o_cc2" add="o_cc5" separator=" "/>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user