Files
design-themes/theme_treehouse/views/snippets/s_features_wall.xml
T
Antoine (anso) 3bfd4f91d5 [IMP] theme_*: adapt theme with new s_features_wall snippet
*: anelusia, artists, aviato, beauty, bewise, bistro, bookstore, enark,
kea, kiddo, loftspace, monglia, notes, orchid, paptic, real_estate,
treehouse, vehicle, yes

This commit adapts the design of new `s_features_wall` snippet for
multiple themes

Part of task-4077427
task-4105231

closes odoo/design-themes#880

Related: odoo/odoo#177546
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-08-31 20:52:37 +00:00

35 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_features_wall" inherit_id="website.s_features_wall">
<!-- Card 1 -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.s_three_columns_default_image_1</attribute>
</xpath>
<xpath expr="//div[hasclass('g-col-lg-3')]//h3" position="replace" mode="inner">
Environmental Conservation Efforts
</xpath>
<xpath expr="//div[hasclass('g-col-lg-3')]//p" position="replace" mode="inner">
Join our initiatives to protect natural habitats and preserve biodiversity through hands-on conservation projects.
</xpath>
<!-- Card 2 -->
<xpath expr="//div[hasclass('g-col-lg-3')][4]//h3" position="replace" mode="inner">
Eco-Friendly Community Programs
</xpath>
<xpath expr="//div[hasclass('g-col-lg-3')][4]//p" position="replace" mode="inner">
Participate in local programs focused on sustainable living, recycling, and reducing environmental footprints.
</xpath>
<!-- Card 3 -->
<xpath expr="(//img)[3]" position="attributes">
<attribute name="src">/web/image/website.s_three_columns_default_image_3</attribute>
</xpath>
<xpath expr="//div[hasclass('g-col-lg-3')][6]//h3" position="replace" mode="inner">
Green Advocacy &amp; Education
</xpath>
<xpath expr="//div[hasclass('g-col-lg-3')][6]//p" position="replace" mode="inner">
Support our efforts to educate the public and advocate for policies that promote environmental sustainability and green practices.
</xpath>
</template>
</odoo>