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_framed_intro snippet
*: (artists, aviato, beauty, kea, kiddo, nano, notes, orchid, vehicle, yes, zap) This commit adapts the design of new `s_framed_intro` snippet for multiple themes. task-4077595 closes odoo/design-themes#852 Related: odoo/odoo#175612 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
'views/snippets/s_cover.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_image_title.xml',
|
||||
'views/snippets/s_framed_intro.xml',
|
||||
'views/snippets/s_numbers.xml',
|
||||
'views/snippets/s_three_columns.xml',
|
||||
'views/snippets/s_color_blocks_2.xml',
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_framed_intro" inherit_id="website.s_framed_intro">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Unplug & Unwind: The Ultimate Music Experience
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//div[hasclass('col-lg-5')]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_three_columns_default_image_2</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user