Files
design-themes/theme_clean/views/snippets/s_features.xml
T
Chrysanthe (chgo) 88c8ec0d83 [IMP] website: review s_features snippet templates
The goal of this commit is to review the occurrences of the
default `s_features` snippet across design themes.

task-3657631

Part-of: odoo/design-themes#826
Related: odoo/odoo#163577
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-24 10:26:47 +00:00

36 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_features" inherit_id="website.s_features">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc2" separator=" "/>
</xpath>
<!-- First column : icon -->
<xpath expr="//div[hasclass('row')]//div//i" position="attributes">
<attribute name="class" add="bg-o-color-4 fa-shield" remove="bg-o-color-3 fa-paper-plane-o" separator=" "/>
</xpath>
<!-- First column : title -->
<xpath expr="//div[hasclass('row')]//div//h3" position="replace" mode="inner">
Secured
</xpath>
<!-- Second column : icon -->
<xpath expr="//div[hasclass('row')]//div[2]//i" position="attributes">
<attribute name="class" add="bg-o-color-4 fa-laptop" remove="bg-o-color-3 fa-credit-card" separator=" "/>
</xpath>
<!-- Second column : title -->
<xpath expr="//div[hasclass('row')]//div[2]//h3" position="replace" mode="inner">
All in one
</xpath>
<!-- Third column : icon -->
<xpath expr="//div[hasclass('row')]//div[3]//i" position="attributes">
<attribute name="class" add="bg-o-color-4 fa-star" remove="bg-o-color-3 fa-flag-o" separator=" "/>
</xpath>
<!-- Third column : title -->
<xpath expr="//div[hasclass('row')]//div[3]//h3" position="replace" mode="inner">
Easy to use
</xpath>
</template>
</odoo>