Files
design-themes/theme_odoo_experts/views/snippets/s_numbers.xml
T
Chrysanthe (chgo) aa5ce391ae [IMP] review numbers snippets occurrences across design themes
This commit reviews the occurrences of the numbers snippets across
the website themes, especially broken selector.

The goal of this commit is to fix potential broken xpath as wel as
fine-tune the design if needed.

task-3924624

Part-of: odoo/design-themes#822
Related: odoo/odoo#163583
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-01 11:09:47 +00:00

23 lines
829 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_numbers" inherit_id="website.s_numbers">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt200 pb200 oe_img_bg o_bg_img_center o_cc4" remove="pt80 pb80 o_cc1" separator=" "/>
<attribute name="style">background-image:url('/web_editor/shape/theme_odoo_experts/s_numbers.svg?c1=o-color-1');</attribute>
</xpath>
<!-- Numbers -->
<xpath expr="//span[hasclass('s_number')]" position="replace" mode="inner">
<b>12</b>
</xpath>
<xpath expr="(//span[hasclass('s_number')])[2]" position="replace" mode="inner">
<b>45</b>
</xpath>
<xpath expr="(//span[hasclass('s_number')])[3]" position="replace" mode="inner">
<b>8</b>
</xpath>
</template>
</odoo>