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_sidegrid snippet
*: (anelusia, artists, aviato, beauty, bewise, bistro, bookstore, enark, graphene, kiddo, loftspace, monglia, notes, real_estate, vehicle, yes, zap) This commit adapts the design of new `s_sidegrid` snippet for multiple themes. task-4077589 closes odoo/design-themes#853 Related: odoo/odoo#175616 Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
'views/snippets/s_image_gallery.xml',
|
||||
'views/snippets/s_call_to_action.xml',
|
||||
'views/snippets/s_features_wall.xml',
|
||||
'views/snippets/s_sidegrid.xml',
|
||||
'views/snippets/s_features_grid.xml',
|
||||
'views/snippets/s_product_list.xml',
|
||||
'views/snippets/s_parallax.xml',
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_sidegrid" inherit_id="website.s_sidegrid">
|
||||
<!-- Images -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" remove="rounded" separator=" "/>
|
||||
<attribute name="src">/web/image/website.s_text_image_default_image</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[2]" position="attributes">
|
||||
<attribute name="class" remove="rounded" separator=" "/>
|
||||
<attribute name="src">/web/image/website.s_banner_default_image_2</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[3]" position="attributes">
|
||||
<attribute name="class" remove="rounded" separator=" "/>
|
||||
<attribute name="src">/web/image/website.s_banner_default_image</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[4]" position="attributes">
|
||||
<attribute name="class" remove="rounded" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user