mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[REM] remove obsolete template
This commit removes a useless template from the enark theme. Prior to this commit, the old `numbers` snippet was only displaying KPI without any title + lead, meaning that we had more room to display numbers. This space allowed us to display a KPI with its label side-by-side, which is not more possible with the new snippet. To improve consistency, we remove that template and go for the default one. closes odoo/design-themes#822 Related: odoo/odoo#163583 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
'views/snippets/s_media_list.xml',
|
||||
'views/snippets/s_call_to_action.xml',
|
||||
'views/snippets/s_parallax.xml',
|
||||
'views/snippets/s_numbers.xml',
|
||||
'views/snippets/s_image_gallery.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_numbers" inherit_id="website.s_numbers">
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc1 pb48 pt0" remove="pt24 pb24 o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div" position="attributes">
|
||||
<attribute name="class" add="col-lg-4 d-flex align-items-center justify-content-center " remove="col-lg-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[2]" position="attributes">
|
||||
<attribute name="class" add="col-lg-4 d-flex align-items-center justify-content-center " remove="col-lg-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[3]" position="attributes">
|
||||
<attribute name="class" add="col-lg-4 d-flex align-items-center justify-content-center " remove="col-lg-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[4]" position="replace">
|
||||
<attribute name="class" remove="col-lg-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h6)[1]" position="attributes">
|
||||
<attribute name="class" add="m-0 ps-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h6)[2]" position="attributes">
|
||||
<attribute name="class" add="m-0 ps-3" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="(//h6)[3]" position="attributes">
|
||||
<attribute name="class" add="m-0 ps-3" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user