Files
design-themes/theme_real_estate/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

33 lines
1.1 KiB
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="pt32 pb56" remove="pt80 pb80" separator=" "/>
</xpath>
<!-- Column #01 -->
<xpath expr="//div[hasclass('col-lg-4')][1]/h6" position="replace" mode="inner">
properties already sold
</xpath>
<xpath expr="//div[hasclass('col-lg-4')][1]/span" position="replace" mode="inner">
14,000
</xpath>
<!-- Column #02 -->
<xpath expr="//div[hasclass('col-lg-4')][2]/span" position="replace" mode="inner">
97%
</xpath>
<xpath expr="//div[hasclass('col-lg-4')][2]/h6" position="replace" mode="inner">
happy customers
</xpath>
<!-- Column #03 -->
<xpath expr="//div[hasclass('col-lg-4')][3]/span" position="replace" mode="inner">
142
</xpath>
<xpath expr="//div[hasclass('col-lg-4')][3]/h6" position="replace" mode="inner">
amazing agents
</xpath>
</template>
</odoo>