mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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>
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
'views/snippets/s_quadrant.xml',
|
||||
'views/snippets/s_intro_pill.xml',
|
||||
'views/snippets/s_big_number.xml',
|
||||
'views/snippets/s_image_frame.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user