Files
design-themes/theme_yes/views/snippets/s_popup.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
844 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_popup" inherit_id="website.s_popup">
<!-- Modal -->
<xpath expr="//*[hasclass('modal-content')]" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
</xpath>
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
</xpath>
<!-- Jumbotron -->
<xpath expr="//*[hasclass('jumbotron')]" position="attributes">
<attribute name="class" add="rounded col-lg-8 offset-lg-2" remove="col-lg-10 offset-lg-1" separator=" "/>
</xpath>
<!-- Close Button -->
<xpath expr="//*[hasclass('s_popup_close')]" position="attributes">
<attribute name="style" add="border-radius: 0 4px 0 4px" separator=";"/>
</xpath>
</template>
</odoo>