Files
design-themes/theme_yes/views/snippets/s_masonry_block.xml
T
stefanorigano (SRI) 57cf8bb724 [IMP] theme_bookstore, *: adapt to new s_masonry_block design
*: theme_notes, theme_real_estate, theme_yes, theme_zap, theme_vehicle

Along with xPath adaptations, this commit also replaces a pixelated
image in the 'theme_yes'.

task-3665303
part of task-3619705

closes odoo/design-themes#839

Related: odoo/odoo#173870
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-07 10:00:54 +00:00

48 lines
1.7 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">
<!-- Little Blocks -->
<!-- Little block #01 - Title -->
<xpath expr="//h3" position="replace" mode="inner">
Caterers
</xpath>
<!-- Little block #01 - Text -->
<xpath expr="//*[hasclass('col-lg-3')]//p" position="replace">
<p>Check out our list of favorite caterers.</p>
<p><a href="#" class="btn btn-secondary rounded-circle">Find a Caterer</a></p>
</xpath>
<!-- Bigger block #02 - Title -->
<xpath expr="(//h3)[2]" position="replace" mode="inner">
Venues
</xpath>
<!-- Bigger block #02 - Text -->
<xpath expr="//*[hasclass('col-lg-4')]//p" position="replace">
<p>Check out our carefully curated list of favorite venues.</p>
<p><a href="#" class="btn btn-secondary">Find a venue</a></p>
</xpath>
<!-- Bigger block #03 - Title -->
<xpath expr="(//h3)[3]" position="replace" mode="inner">
Attire
</xpath>
<!-- Bigger block #03 - Text -->
<xpath expr="//*[hasclass('col-lg-4')][2]//p" position="replace">
<p>Find the perfect outfit for before, during and after the main event.</p>
<p><a href="#" class="btn btn-primary">Shop</a></p>
</xpath>
<!-- Little block #04 - Title -->
<xpath expr="(//h3)[4]" position="replace" mode="inner">
FAQ
</xpath>
<!-- Little block #04 - Text -->
<xpath expr="//*[hasclass('col-lg-3')][2]//p" position="replace">
<p>Find the answers to all your questions in our FAQ.</p>
<p><a href="#" class="btn btn-primary">Go to FAQ</a></p>
</xpath>
</template>
</odoo>