Files
design-themes/theme_aviato/views/snippets/s_text_image.xml
T
Chrysanthe (chgo) 24b689a882 [IMP] theme_*: adapt s_text_image templates
This commit aims to review all the occurrences of the `s_text_image`
snippet across the themes in order to fix broken selectors.

task-3665301

Part-of: odoo/design-themes#830
Related: odoo/odoo#173311
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-26 09:53:50 +00:00

33 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_text_image" inherit_id="website.s_text_image">
<!-- Container -->
<xpath expr="//div[hasclass('container')]" position="attributes">
<attribute name="class" add="container-fluid" remove="container" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h2" position="replace" mode="inner">
What we can do, <b>for you</b>
</xpath>
<!-- Paragraph -->
<xpath expr="//p[1]" position="replace" mode="inner">
Our team travels widely the globe to bring our clients first-hand knowledge of upcoming destinations, new "hot" hotels and ships, local restaurants, neighborhood hangouts, bars, pubs, the best. beaches and places to visit and not to see.
</xpath>
<xpath expr="//p[2]" position="replace">
<p><br/></p>
</xpath>
<xpath expr="//p[3]" position="replace"/>
<!-- layout -->
<xpath expr="//div[hasclass('row')]/div[1]" position="attributes">
<attribute name="class" add="col-lg-4 offset-lg-2" remove="col-lg-5" separator=" "/>
</xpath>
<!-- Image -->
<xpath expr="//img" position="attributes">
<attribute name="class" add="w-75" separator=" "/>
<attribute name="src">/web_editor/shape/theme_aviato/s_text_image.svg?c1=o-color-1</attribute>
</xpath>
</template>
</odoo>