Files
design-themes/theme_treehouse/views/snippets/s_text_cover.xml
T
Benoit Socias 38a02a269a [FIX] theme_*: fix used separators in class and style updates
*: anelusia, artists, avantgarde, aviato, bistro, bookstore, buzzy,
   clean, enark, graphene, kea, kiddo, monglia, nano, notes,
   odoo_experts, paptic, real_estate, treehouse, vehicle, yes, zap

This commit fixes the wrong separators used when updating class and
style attributes.

task-4206845

Part-of: odoo/design-themes#933
Related: odoo/odoo#181194
Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
2024-09-26 08:40:55 +00:00

24 lines
1013 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_text_cover" inherit_id="website.s_text_cover">
<xpath expr="//div[hasclass('col-lg-6')][1]" position="attributes">
<attribute name="style" add="grid-area: 2 / 3 / 11 / 9;" remove="grid-area: 2 / 3 / 11 / 8;" separator=";"/>
<attribute name="class" add="g-col-lg-6" remove="g-col-lg-5" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace" mode="inner">
Promote<br/>Sustainability.
</xpath>
<!-- Paragraph -->
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
<br/>Highlight your environmental initiatives and projects with a user-friendly platform that simplifies all the steps, from setup to campaign management, making it easy to engage supporters and drive positive change.<br/>
</xpath>
<!-- Button -->
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
Start promoting
</xpath>
</template>
</odoo>