mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
8ff74b77c6
The goal of this commit is to fix xpath after the `s_picture` snippet redesign, and eventually tweak some classes. task-4047748 closes odoo/design-themes#824 Related: odoo/odoo#172740 Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
25 lines
808 B
XML
25 lines
808 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<odoo>
|
||
|
||
<template id="s_picture" inherit_id="website.s_picture">
|
||
<!-- Section -->
|
||
<xpath expr="//section" position="attributes">
|
||
<attribute name="class" add="o_cc4" separator=" "/>
|
||
</xpath>
|
||
<!-- Title -->
|
||
<xpath expr="//h2" position="replace" mode="inner">
|
||
Open your horizons
|
||
</xpath>
|
||
<!-- Paragraphs -->
|
||
<xpath expr="//p[1]" position="replace" mode="inner">
|
||
We’ve selected properties from all types and all areas.<br/>
|
||
The house of your dreams is around the corner.
|
||
</xpath>
|
||
<!-- Caption -->
|
||
<xpath expr="//figcaption" position="replace">
|
||
<figcaption class="figure-caption text-muted py-3">Property on the coasts of the Mediterranean.</figcaption>
|
||
</xpath>
|
||
</template>
|
||
|
||
</odoo>
|