Skip to content

Commit 52bfa2e

Browse files
committed
[IMP] theme_paptic: s_showcase adaptations
This commit removes the `s_showcase` customization since this snippets has been redesigned in PR[1]. task-3657637 Part of task-3619705 [1]: odoo/odoo#172771 closes #829 Related: odoo/odoo#172771 Signed-off-by: Benoit Socias (bso) <[email protected]>
1 parent 7b5b320 commit 52bfa2e

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

theme_paptic/views/customizations.xml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,17 +134,14 @@
134134

135135
<!-- ==== Showcase ===== -->
136136
<template id="s_showcase" inherit_id="website.s_showcase" name="Paptic s_showcase">
137-
<xpath expr="//i[hasclass('text-secondary')]" position="attributes">
138-
<attribute name="class" remove="text-secondary" separator=" "/>
137+
<xpath expr="//i[hasclass('s_showcase_icon')]" position="attributes">
138+
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
139139
</xpath>
140-
<xpath expr="//i[hasclass('text-secondary')]" position="attributes">
141-
<attribute name="class" remove="text-secondary" separator=" "/>
140+
<xpath expr="(//i[hasclass('s_showcase_icon')])[2]" position="attributes">
141+
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
142142
</xpath>
143-
<xpath expr="//i[hasclass('text-secondary')]" position="attributes">
144-
<attribute name="class" remove="text-secondary" separator=" "/>
145-
</xpath>
146-
<xpath expr="//i[hasclass('text-secondary')]" position="attributes">
147-
<attribute name="class" remove="text-secondary" separator=" "/>
143+
<xpath expr="(//i[hasclass('s_showcase_icon')])[3]" position="attributes">
144+
<attribute name="class" add="bg-o-color-1" remove="bg-o-color-3" separator=" "/>
148145
</xpath>
149146
</template>
150147

0 commit comments

Comments
 (0)