Files
design-themes/theme_real_estate/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

66 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_masonry_block" inherit_id="website.s_masonry_block" name="Masonry">
<xpath expr="//section" position="attributes">
<attribute name="class" add="pt32" remove="pt48" separator=" "/>
</xpath>
</template>
<template id="s_masonry_block_default_template" inherit_id="website.s_masonry_block_default_template">
<!-- Little block #1 -->
<xpath expr="//div[hasclass('col-lg-4')]/h3" position="before">
<span class="fa fa-star fa-2x mb-4"></span>
</xpath>
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-4')]/h3" position="replace" mode="inner">
Increased Visibility
</xpath>
<!-- Paragraph -->
<xpath expr="//div[hasclass('col-lg-4')]/p" position="replace" mode="inner">
Increase Visitor retention with virtual tours.
</xpath>
<!-- Little block #2 -->
<xpath expr="//div[hasclass('col-lg-4')][2]/h3" position="before">
<span class="fa fa-tag fa-2x mb-4"></span>
</xpath>
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-4')][2]/h3" position="replace" mode="inner">
No fixed fees
</xpath>
<!-- Paragraph -->
<xpath expr="//div[hasclass('col-lg-4')][2]/p" position="replace" mode="inner">
We have fixed price fees. We only charge when your sale is confirmed.
</xpath>
<!-- Little block #3 -->
<xpath expr="//div[hasclass('col-lg-3')]/h3" position="before">
<span class="fa fa-camera fa-2x mb-4"></span>
</xpath>
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-3')]/h3" position="replace" mode="inner">
Pro Photo Shoot
</xpath>
<!-- Paragraph -->
<xpath expr="//div[hasclass('col-lg-3')]/p" position="replace" mode="inner">
An image is worth a thousand words.
</xpath>
<!-- Little block #4 -->
<!-- Main div -->
<xpath expr="//div[hasclass('col-lg-3')][2]/h3" position="before">
<span class="fa fa-check fa-2x mb-4"></span>
</xpath>
<!-- Title -->
<xpath expr="//div[hasclass('col-lg-3')][2]/h3" position="replace" mode="inner">
Premium Quality
</xpath>
<!-- Paragraph -->
<xpath expr="//div[hasclass('col-lg-3')][2]/p" position="replace" mode="inner">
We deliver high quality services.
</xpath>
</template>
</odoo>