[IMP] theme_*: review s_numbers_boxed snippet occurrences

*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, kea, kiddo, loftspace, monglia,
nano, notes, odoo_experts, orchid, paptic, real_estate, treehouse,
vehicle, yes, zap

This commit reviews the occurrences of the `s_numbers_boxed` snippet
within themes

task-4094382
Part of task-4077427

closes odoo/design-themes#979

Related: odoo/odoo#175701
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2024-10-07 11:38:22 +02:00
parent 5051a4a68a
commit 245ccafd24
46 changed files with 699 additions and 0 deletions
+26
View File
@@ -883,4 +883,30 @@
</xpath>
</template>
<!-- ======== Numbers boxed ======== -->
<template id="s_numbers_boxed" inherit_id="website.s_numbers_boxed">
<!-- Grid Item -->
<xpath expr="//div[hasclass('o_grid_item')][2]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
</xpath>
<xpath expr="//div[hasclass('o_grid_item')][2]//h3" position="replace" mode="inner">
30+
</xpath>
<!-- Grid Item 2 -->
<xpath expr="(//div[hasclass('o_grid_item')])[3]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[3]//h3" position="replace" mode="inner">
45%
</xpath>
<!-- Grid Item 3 -->
<xpath expr="(//div[hasclass('o_grid_item')])[4]" position="attributes">
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
</xpath>
<xpath expr="(//div[hasclass('o_grid_item')])[4]//h3" position="replace" mode="inner">
8+
</xpath>
</template>
</odoo>