mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
376ab972ea
* anelusia, artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace, monglia, nano, notes, odoo_experts, orchid, paptic, real estate, treehouse, vehicle, yes, zap This commit adapts all the `xpath` expressions inside design themes to target the new heading tags that were changed within the snippet files. task-4349019 closes odoo/design-themes#1043 Related: odoo/odoo#191300 Related: odoo/enterprise#92978 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
42 lines
1.7 KiB
XML
42 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">
|
|
<!-- Block #01 -->
|
|
<xpath expr="//h2" position="replace"/>
|
|
<xpath expr="//p" position="replace" mode="inner">
|
|
<em class="lead">Maintain a position of constant change<br/> and evolution, while always aiming<br/> for your success.</em>
|
|
</xpath>
|
|
<!-- Block #02 -->
|
|
<xpath expr="//h2" position="before">
|
|
<i class="fa fa-2x fa-star text-o-color-2 rounded-circle shadow mx-auto my-3"/>
|
|
</xpath>
|
|
<xpath expr="//h2" position="replace" mode="inner">
|
|
Super <b>Easy</b>
|
|
</xpath>
|
|
<xpath expr="//h2" position="attributes">
|
|
<attribute name="class" add="text-center" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//p)[2]" position="replace" mode="inner"/>
|
|
<!-- Block #03 -->
|
|
<xpath expr="(//h2)[2]" position="before">
|
|
<i class="fa fa-2x fa-rocket text-o-color-1 rounded-circle shadow mx-auto my-3"/>
|
|
</xpath>
|
|
<xpath expr="(//h2)[2]" position="replace" mode="inner">
|
|
Super <b>Fast</b>
|
|
</xpath>
|
|
<xpath expr="(//h2)[2]" position="attributes">
|
|
<attribute name="class" add="text-center" separator=" "/>
|
|
</xpath>
|
|
<xpath expr="(//p)[3]" position="replace" mode="inner"/>
|
|
<!-- Block #04 -->
|
|
<xpath expr="//*[hasclass('col-lg-3')][2]" position="replace" mode="inner"/>
|
|
|
|
<xpath expr="//*[hasclass('col-lg-3')][2]" position="attributes">
|
|
<attribute name="style" add="background-image:url(/web/image/website.s_masonry_block_default_image_2)" separator=";"/>
|
|
<attribute name="class" add="oe_img_bg o_bg_img_center" separator=" "/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|