Skip to content

Commit 5274caf

Browse files
committed
[IMP] theme_* : review s_cta_badge layout
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace, monglia, nano, notes, odoo_experts, orchid, paptic, real_estate, treehouse, vehicle, yes, zap This commit adapts the occurrences of `s_cta_badge` across themes as the layout was changed to be more flexible. task-4942904 closes #1116 Related: odoo/odoo#219373 Signed-off-by: Benjamin Vray (bvr) <[email protected]>
1 parent 59dba6c commit 5274caf

File tree

29 files changed

+57
-57
lines changed

29 files changed

+57
-57
lines changed

theme_anelusia/views/snippets/s_empowerment.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<template id="s_empowerment" inherit_id="website.s_empowerment">
55
<!-- Badge content -->
66
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
7-
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/>&#160;&#160;Enjoy exclusive deals up to -50% ! &#160;&#160;&#160;&#160;
8-
<a href="#">Shop now&#160;&#160; <i class="fa fa-long-arrow-right" role="img"/></a>
7+
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/> Enjoy exclusive deals up to -50% !&#160;
8+
<a href="#">Shop now&#160;<i class="fa fa-long-arrow-right" role="img"/></a>
99
</xpath>
1010
<!-- Title -->
1111
<xpath expr="//h1" position="replace" mode="inner">

theme_artists/views/snippets/s_empowerment.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
</xpath>
1313
<!-- Badge content -->
1414
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
15-
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/>&#160;&#160;Don't miss the final show ! &#160;&#160;&#160;&#160;
16-
<a href="#">Grab your tickets&#160;&#160; <i class="fa fa-long-arrow-right" role="img"/></a>
15+
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/> Don't miss the final show !&#160;
16+
<a href="#">Grab your tickets&#160;<i class="fa fa-long-arrow-right" role="img"/></a>
1717
</xpath>
1818
<!-- Title -->
1919
<xpath expr="//h1" position="replace" mode="inner">

theme_avantgarde/views/customizations.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,8 @@
643643
<template id="s_empowerment" inherit_id="website.s_empowerment">
644644
<!-- Badge content -->
645645
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
646-
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/>&#160;&#160;Award-Winning Designs &#160;&#160;&#160;&#160;
647-
<a href="#">See Our Achievements&#160;&#160; <i class="fa fa-long-arrow-right" role="img"/></a>
646+
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/> Award-Winning Designs&#160;
647+
<a href="#">See Our Achievements&#160;<i class="fa fa-long-arrow-right" role="img"/></a>
648648
</xpath>
649649
<!-- Title -->
650650
<xpath expr="//h1" position="replace" mode="inner">

theme_aviato/views/snippets/s_empowerment.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<template id="s_empowerment" inherit_id="website.s_empowerment">
55
<!-- Badge content -->
66
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
7-
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/>&#160;&#160;Exclusive Travel Deals &#160;&#160;&#160;&#160;
8-
<a href="#">View Our Offers&#160;&#160; <i class="fa fa-long-arrow-right" role="img"/></a>
7+
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/> Exclusive Travel Deals&#160;
8+
<a href="#">View Our Offers&#160;<i class="fa fa-long-arrow-right" role="img"/></a>
99
</xpath>
1010
<!-- Title -->
1111
<xpath expr="//h1" position="replace" mode="inner">

theme_beauty/views/snippets/s_empowerment.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<template id="s_empowerment" inherit_id="website.s_empowerment">
55
<!-- Badge content -->
66
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
7-
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/>&#160;&#160;Top Beauty Picks &#160;&#160;&#160;&#160;
8-
<a href="#">Explore Beauty Essentials&#160;&#160; <i class="fa fa-long-arrow-right" role="img"/></a>
7+
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/> Top Beauty Picks&#160;
8+
<a href="#">Explore Beauty Essentials&#160;<i class="fa fa-long-arrow-right" role="img"/></a>
99
</xpath>
1010
<!-- Title -->
1111
<xpath expr="//h1" position="replace" mode="inner">

theme_bewise/views/customizations.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,8 +1113,8 @@
11131113
<template id="s_empowerment" inherit_id="website.s_empowerment">
11141114
<!-- Badge content -->
11151115
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
1116-
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/>&#160;&#160;Top-Ranked Programs &#160;&#160;&#160;&#160;
1117-
<a href="#">Discover Our Courses&#160;&#160; <i class="fa fa-long-arrow-right" role="img"/></a>
1116+
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/> Top-Ranked Programs&#160;
1117+
<a href="#">Discover Our Courses&#160;<i class="fa fa-long-arrow-right" role="img"/></a>
11181118
</xpath>
11191119
<!-- Title -->
11201120
<xpath expr="//h1" position="replace" mode="inner">

theme_bistro/views/snippets/s_empowerment.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<template id="s_empowerment" inherit_id="website.s_empowerment">
55
<!-- Badge content -->
66
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
7-
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/>&#160;&#160;Explore our signature dishes&#160;&#160;&#160;&#160;
8-
<a href="#">View Our Menu&#160;&#160; <i class="fa fa-long-arrow-right" role="img"/></a>
7+
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/> Explore our signature dishes&#160;
8+
<a href="#">View Our Menu&#160;<i class="fa fa-long-arrow-right" role="img"/></a>
99
</xpath>
1010
<!-- Title -->
1111
<xpath expr="//h1" position="replace" mode="inner">

theme_bookstore/views/snippets/s_empowerment.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<template id="s_empowerment" inherit_id="website.s_empowerment">
55
<!-- Badge content -->
66
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
7-
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/>&#160;&#160;Bestselling Titles&#160;&#160;&#160;&#160;
8-
<a href="#">Explore new releases&#160;&#160; <i class="fa fa-long-arrow-right" role="img"/></a>
7+
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/> Bestselling Titles&#160;
8+
<a href="#">Explore new releases&#160;<i class="fa fa-long-arrow-right" role="img"/></a>
99
</xpath>
1010
<!-- Title -->
1111
<xpath expr="//h1" position="replace" mode="inner">

theme_buzzy/views/snippets/s_empowerment.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<template id="s_empowerment" inherit_id="website.s_empowerment">
55
<!-- Badge content -->
66
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
7-
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/>&#160;&#160;Industry Leaders&#160;&#160;&#160;&#160;
8-
<a href="#">See our Success Stories&#160;&#160; <i class="fa fa-long-arrow-right" role="img"/></a>
7+
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/> Industry Leaders&#160;
8+
<a href="#">See our Success Stories&#160;<i class="fa fa-long-arrow-right" role="img"/></a>
99
</xpath>
1010
<!-- Title -->
1111
<xpath expr="//h1" position="replace" mode="inner">

theme_clean/views/snippets/s_empowerment.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<template id="s_empowerment" inherit_id="website.s_empowerment">
55
<!-- Badge content -->
66
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
7-
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/>&#160;&#160;Trusted expertise&#160;&#160;&#160;&#160;
8-
<a href="#">Read client testimonials&#160;&#160; <i class="fa fa-long-arrow-right" role="img"/></a>
7+
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/> Trusted expertise&#160;
8+
<a href="#">Read client testimonials&#160;<i class="fa fa-long-arrow-right" role="img"/></a>
99
</xpath>
1010
<!-- Title -->
1111
<xpath expr="//h1" position="replace" mode="inner">

0 commit comments

Comments
 (0)