mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -54,6 +54,7 @@
|
||||
'views/snippets/s_wavy_grid.xml',
|
||||
'views/snippets/s_text_cover.xml',
|
||||
'views/snippets/s_empowerment.xml',
|
||||
'views/snippets/s_numbers_boxed.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_numbers_boxed" inherit_id="website.s_numbers_boxed">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc2" remove="o_cc5" separator=" "/>
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Blobs/02','flip':[],'showOnMobile':false}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Blobs_02"/>
|
||||
</xpath>
|
||||
<!-- Grid Item -->
|
||||
<xpath expr="//div[hasclass('o_grid_item')][2]" position="attributes">
|
||||
<attribute name="class" add="o_cc1" 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_cc1" 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_cc1" remove="o_cc3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//div[hasclass('o_grid_item')])[4]//h3" position="replace" mode="inner">
|
||||
8+
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user