mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
38a02a269a
*: 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>
34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_cta_box" inherit_id="website.s_cta_box">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc o_cc2 pt0" remove="pt80" separator=" "/>
|
|
</xpath>
|
|
<!-- Card -->
|
|
<xpath expr="//div[hasclass('card')]" position="attributes">
|
|
<attribute name="class" add="o_cc5" remove="o_cc4" separator=" "/>
|
|
<attribute name="style" add="border-radius: 0px !important;" separator=";"/>
|
|
</xpath>
|
|
<!-- Title -->
|
|
<xpath expr="//h2" position="replace" mode="inner">
|
|
Still hesitating ?<br/>Contact us, it's free
|
|
</xpath>
|
|
<!-- Paragraphs -->
|
|
<xpath expr="//p" position="replace" mode="inner">
|
|
Book an appointment and see how we can unlock your potential<br/><br/>
|
|
</xpath>
|
|
<!-- Image -->
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="src">/theme_enark/static/src/img/snippets/library_image_02.jpg</attribute>
|
|
<attribute name="class" remove="rounded-end" separator=" "/>
|
|
</xpath>
|
|
<!-- Button -->
|
|
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
|
|
Book now
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|