Files
design-themes/theme_notes/views/snippets/s_image_frame.xml
T
Xavier Luyckx (xlu) 0b567d15c6 [IMP] theme_*: adapt themes with new s_image_frame design
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, graphene, kiddo, monglia, nano,
notes, paptic, treehouse, vehicle, yes

This commit adapts the design of `s_image_frame` for multiple themes,
based on the new Odoo 18 snippet redesign.

task-4105328

closes odoo/design-themes#864

Part-of: task-4077427
Related: odoo/odoo#176562
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
2024-09-18 13:00:35 +00:00

16 lines
450 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_image_frame" inherit_id="website.s_image_frame">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" remove="o_cc1" add="o_cc5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="src">/web/image/website.library_image_10</attribute>
</xpath>
</template>
</odoo>