mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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>
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
'views/snippets/s_tabs.xml',
|
||||
'views/snippets/s_text_block.xml',
|
||||
'views/snippets/s_text_image.xml',
|
||||
'views/snippets/s_features_wall.xml',
|
||||
'views/snippets/s_three_columns.xml',
|
||||
'views/snippets/s_title.xml',
|
||||
'views/snippets/s_unveil.xml',
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<?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 & 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>
|
||||
Reference in New Issue
Block a user