Skip to content

Commit 5efa116

Browse files
committed
[IMP] theme_artists, *: adapt s_attributes_vertical
*: theme_loftspace, theme_nano, theme_orchid This commit adapts customizations for `s_attributes_vertical`. task-4778437 Part of task-4252024
1 parent b66a1e8 commit 5efa116

File tree

8 files changed

+78
-0
lines changed

8 files changed

+78
-0
lines changed

theme_artists/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
'views/snippets/s_kickoff.xml',
7979
'views/snippets/s_discovery.xml',
8080
'views/snippets/s_attributes_horizontal.xml',
81+
'views/snippets/s_attributes_vertical.xml',
8182
'views/snippets/s_pricelist_boxed.xml',
8283
'views/snippets/s_striped_center_top.xml',
8384
'views/snippets/s_key_images.xml',
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<odoo>
3+
4+
<template id="s_attributes_vertical" inherit_id="website.s_attributes_vertical">
5+
<!-- Section -->
6+
<xpath expr="//section" position="attributes">
7+
<attribute name="class" add="o_cc o_cc5" separator=" "/>
8+
</xpath>
9+
<!-- Images -->
10+
<xpath expr="//img" position="attributes">
11+
<attribute name="src">/web_editor/shape/website/s_attributes_1.svg?c1=rgba(0,0,0,.25)&amp;c4=o-color-1&amp;c5=o-color-5</attribute>
12+
</xpath>
13+
<xpath expr="(//img)[2]" position="attributes">
14+
<attribute name="src">/web_editor/shape/website/s_attributes_3.svg?c1=rgba(0,0,0,.25)&amp;c4=o-color-1&amp;c5=o-color-5</attribute>
15+
</xpath>
16+
<xpath expr="(//img)[3]" position="attributes">
17+
<attribute name="src">/web_editor/shape/website/s_attributes_4.svg?c1=rgba(0,0,0,.25)&amp;c2=rgba(0,0,0,.5)&amp;c4=o-color-1&amp;c5=o-color-5</attribute>
18+
</xpath>
19+
</template>
20+
21+
</odoo>

theme_loftspace/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
'views/snippets/s_cta_box.xml',
1515
'views/snippets/s_attributes_horizontal.xml',
16+
'views/snippets/s_attributes_vertical.xml',
1617
'views/snippets/s_cover.xml',
1718
'views/snippets/s_striped_top.xml',
1819
'views/snippets/s_card_offset.xml',
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<odoo>
3+
4+
<template id="s_attributes_vertical" inherit_id="website.s_attributes_vertical">
5+
<!-- Section -->
6+
<xpath expr="//section" position="attributes">
7+
<attribute name="class" add="o_cc o_cc5" separator=" "/>
8+
</xpath>
9+
</template>
10+
11+
</odoo>

theme_nano/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
'views/snippets/s_empowerment.xml',
5050
'views/snippets/s_discovery.xml',
5151
'views/snippets/s_attributes_horizontal.xml',
52+
'views/snippets/s_attributes_vertical.xml',
5253
'views/snippets/s_numbers.xml',
5354
'views/snippets/s_image_text_overlap.xml',
5455
'views/snippets/s_company_team_basic.xml',
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<odoo>
3+
4+
<template id="s_attributes_vertical" inherit_id="website.s_attributes_vertical">
5+
<!-- Section -->
6+
<xpath expr="//section" position="attributes">
7+
<attribute name="class" add="o_cc o_cc5" separator=" "/>
8+
</xpath>
9+
<!-- Images -->
10+
<xpath expr="//img" position="attributes">
11+
<attribute name="src">/web_editor/shape/website/s_attributes_1.svg?c1=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
12+
</xpath>
13+
<xpath expr="(//img)[2]" position="attributes">
14+
<attribute name="src">/web_editor/shape/website/s_attributes_3.svg?c1=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
15+
</xpath>
16+
<xpath expr="(//img)[3]" position="attributes">
17+
<attribute name="src">/web_editor/shape/website/s_attributes_4.svg?c1=o-color-2&amp;c2=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
18+
</xpath>
19+
</template>
20+
21+
</odoo>

theme_orchid/__manifest__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
'views/snippets/s_cta_box.xml',
1515
'views/snippets/s_attributes_horizontal.xml',
16+
'views/snippets/s_attributes_vertical.xml',
1617
'views/snippets/s_cover.xml',
1718
'views/snippets/s_cards_grid.xml',
1819
'views/snippets/s_striped_top.xml',
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<odoo>
3+
4+
<template id="s_attributes_vertical" inherit_id="website.s_attributes_vertical">
5+
<!-- Section -->
6+
<xpath expr="//section" position="attributes">
7+
<attribute name="class" add="o_cc o_cc5" separator=" "/>
8+
</xpath>
9+
<!-- Images -->
10+
<xpath expr="//img" position="attributes">
11+
<attribute name="src">/web_editor/shape/website/s_attributes_1.svg?c1=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
12+
</xpath>
13+
<xpath expr="(//img)[2]" position="attributes">
14+
<attribute name="src">/web_editor/shape/website/s_attributes_3.svg?c1=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
15+
</xpath>
16+
<xpath expr="(//img)[3]" position="attributes">
17+
<attribute name="src">/web_editor/shape/website/s_attributes_4.svg?c1=o-color-2&amp;c2=o-color-2&amp;c4=o-color-4&amp;c5=o-color-5</attribute>
18+
</xpath>
19+
</template>
20+
21+
</odoo>

0 commit comments

Comments
 (0)