mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
f0e216f031
task-4178019 Part of task-4177975 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Serge Bayet (seba) <seba@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
24 lines
888 B
XML
24 lines
888 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_masonry_block" inherit_id="website.s_masonry_block">
|
|
<xpath expr="//t[@t-call='website.s_masonry_block_default_template']" position="replace">
|
|
<t t-call="website.s_masonry_block_mosaic_template"/>
|
|
</xpath>
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="data-masonry-template">mosaic</attribute>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="s_masonry_block_mosaic_template" inherit_id="website.s_masonry_block_mosaic_template">
|
|
<xpath expr="//img" position="attributes">
|
|
<attribute name="class" add="rounded" separator=" "/>
|
|
<attribute name="src">/web/image/website.s_text_image_default_image</attribute>
|
|
</xpath>
|
|
<xpath expr="(//img)[2]" position="attributes">
|
|
<attribute name="class" add="rounded" separator=" "/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|