Files
design-themes/theme_yes/views/snippets/s_masonry_block.xml
T
Sébastien Mottet (oms) 57e63ad290 [FIX] theme_*: fix masonry xpath
*: vehicle, yes, zap

Commit [1] modified the website.s_masonry_block template and makes it
call website.s_masonry_block_default_template. The theme custo xpaths
should now be done in that template instead.

[1]: https://github.com/odoo/odoo/commit/c90ab7b6646b603dcd0a49387b5eeba60ce17f59

closes odoo/design-themes#493

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-03 10:38:08 +00:00

26 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_masonry_block_default_template" inherit_id="website.s_masonry_block_default_template">
<!-- Column 1 -->
<xpath expr="(//div[hasclass('col-lg-6')])[3]" position="replace">
<div class="col-lg-6 o_cc o_cc4 text-center">
<h3><em>Sparkling, dynamic and smiling.</em></h3>
</div>
</xpath>
<!-- Column 2 -->
<xpath expr="(//div[hasclass('col-lg-6')])[4]" position="replace">
<div class="col-lg-6 o_cc o_cc4"></div>
</xpath>
<!-- Column 3 -->
<xpath expr="(//div[hasclass('col-lg-6')])[5]" position="replace">
<div class="col-lg-6 o_cc o_cc1"></div>
</xpath>
<!-- Column 4 -->
<xpath expr="(//div[hasclass('col-lg-6')])[6]" position="replace">
<div class="col-lg-6 o_cc o_cc1 text-center">
<h3><em>Warm, attentive and caring.</em></h3>
</div>
</xpath>
</template>
</odoo>