mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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>
This commit is contained in:
@@ -82,6 +82,9 @@
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-masonry-template">image_text_image</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//section/div" position="attributes">
|
||||
<attribute name="class" add="container-fluid" remove="container" separator=" "></attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="s_masonry_block_image_texts_image_template" inherit_id="website.s_masonry_block_image_texts_image_template" name="Vehicle s_masonry_block">
|
||||
@@ -89,12 +92,12 @@
|
||||
<img src="/web/image/website.s_parallax_default_image" class="img img-fluid mx-auto" alt=""/>
|
||||
</xpath>
|
||||
<!-- Block #02 -->
|
||||
<xpath expr="//h3" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
Electrifying <b>Performance</b>.
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner"/>
|
||||
<!-- Block #03 -->
|
||||
<xpath expr="(//h3)[2]" position="replace" mode="inner">
|
||||
<xpath expr="(//h3)[3]" position="replace" mode="inner">
|
||||
Smarter <b>Range</b>.
|
||||
</xpath>
|
||||
<xpath expr="(//p)[2]" position="replace" mode="inner"/>
|
||||
|
||||
Reference in New Issue
Block a user