mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
38a02a269a
*: anelusia, artists, avantgarde, aviato, bistro, bookstore, buzzy, clean, enark, graphene, kea, kiddo, monglia, nano, notes, odoo_experts, paptic, real_estate, treehouse, vehicle, yes, zap This commit fixes the wrong separators used when updating class and style attributes. task-4206845 Part-of: odoo/design-themes#933 Related: odoo/odoo#181194 Signed-off-by: Alice Gaudon (agau) <agau@odoo.com>
60 lines
2.6 KiB
XML
60 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<odoo>
|
||
|
||
<template id="s_three_columns" inherit_id="website.s_three_columns">
|
||
<!-- Section -->
|
||
<xpath expr="//section" position="attributes">
|
||
<attribute name="class" add="pt16 pb56 o_cc3" remove="pt32 pb32 o_cc2" separator=" "/>
|
||
</xpath>
|
||
<!-- Column #01 -->
|
||
<xpath expr="//*[hasclass('s_card')]" position="attributes">
|
||
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator=";"/>
|
||
</xpath>
|
||
<xpath expr="//figure" position="attributes">
|
||
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>
|
||
</xpath>
|
||
<xpath expr="//h5" position="replace" mode="inner">
|
||
Paris
|
||
</xpath>
|
||
<xpath expr="//p" position="replace" mode="inner">
|
||
Paris' monument-lined boulevards, museums, classical bistros and boutiques are enhanced by a new wave of multimedia galleries, creative wine bars..
|
||
</xpath>
|
||
<xpath expr="//p" position="after">
|
||
<a href="#" class="btn btn-primary">Book now</a>
|
||
</xpath>
|
||
<!-- Column #02 -->
|
||
<xpath expr="(//*[hasclass('s_card')])[2]" position="attributes">
|
||
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator=";"/>
|
||
</xpath>
|
||
<xpath expr="(//figure)[2]" position="attributes">
|
||
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>
|
||
</xpath>
|
||
<xpath expr="(//h5)[2]" position="replace" mode="inner">
|
||
Rome
|
||
</xpath>
|
||
<xpath expr="(//p)[2]" position="replace" mode="inner">
|
||
A heady mix of haunting ruins, awe-inspiring art and vibrant street life, Italy’s hot-blooded capital is one of the world’s most romantic and charismatic cities.
|
||
</xpath>
|
||
<xpath expr="(//p)[2]" position="after">
|
||
<a href="#" class="btn btn-primary">Book now</a>
|
||
</xpath>
|
||
<!-- Column #03 -->
|
||
<xpath expr="(//*[hasclass('s_card')])[3]" position="attributes">
|
||
<attribute name="style" add="--card-img-aspect-ratio: 132%" separator=";"/>
|
||
</xpath>
|
||
<xpath expr="(//figure)[3]" position="attributes">
|
||
<attribute name="class" remove="ratio-16x9" add="o_card_img_ratio_custom" separator=" "/>
|
||
</xpath>
|
||
<xpath expr="(//h5)[3]" position="replace" mode="inner">
|
||
Prague
|
||
</xpath>
|
||
<xpath expr="(//p)[3]" position="replace" mode="inner">
|
||
Prague is the equal of Paris in terms of beauty. Its history goes back a millennium. And the beer? The best in Europe. Prague is the perfect city to walk around.
|
||
</xpath>
|
||
<xpath expr="(//p)[3]" position="after">
|
||
<a href="#" class="btn btn-primary">Book now</a>
|
||
</xpath>
|
||
</template>
|
||
|
||
</odoo>
|