mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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>
This commit is contained in:
committed by
qsm-odoo
parent
2be2841692
commit
57e63ad290
@@ -70,7 +70,7 @@
|
||||
</template>
|
||||
|
||||
<!-- ======== MASONERY BLOCK ======== -->
|
||||
<template id="s_masonry_block" inherit_id="website.s_masonry_block" name="Vehicle s_masonry_block">
|
||||
<template id="s_masonry_block_default_template" inherit_id="website.s_masonry_block_default_template" name="Vehicle s_masonry_block">
|
||||
<xpath expr="//p" position="replace"/>
|
||||
|
||||
<xpath expr="//div[hasclass('h-100')]/div//h3" position="replace">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_masonry_block" inherit_id="website.s_masonry_block">
|
||||
<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">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="s_masonry_block" inherit_id="website.s_masonry_block">
|
||||
<template id="s_masonry_block_default_template" inherit_id="website.s_masonry_block_default_template">
|
||||
<!-- Block #01 -->
|
||||
<xpath expr="//div[hasclass('col-lg-6')][2]//div[hasclass('col-lg-6')]/*" position="before">
|
||||
<i class="fa fa-star fa-1x text-secondary rounded shadow-sm mx-auto mb-3"/>
|
||||
|
||||
Reference in New Issue
Block a user