Files
design-themes/theme_artists/views/snippets/s_cards_grid.xml
T
Benoit Socias 38a02a269a [FIX] theme_*: fix used separators in class and style updates
*: 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>
2024-09-26 08:40:55 +00:00

62 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_cards_grid" inherit_id="website.s_cards_grid">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc3" remove="o_cc2" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h3" position="replace" mode="inner">
Distinctive Creations: Art That Speaks
</xpath>
<!-- Card 1 -->
<xpath expr="(//div[hasclass('s_card')])[1]" position="attributes">
<attribute name="class" add="border" separator=" "/>
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
</xpath>
<xpath expr="(//h5)[1]" position="replace" mode="inner">
Unique Creative Vision
</xpath>
<xpath expr="(//p)[1]" position="replace" mode="inner">
My art is a reflection of a distinctive vision, blending contemporary techniques with personal storytelling to create pieces that captivate and inspire.
</xpath>
<!-- Card 2 -->
<xpath expr="(//div[hasclass('s_card')])[2]" position="attributes">
<attribute name="class" add="border" separator=" "/>
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
</xpath>
<xpath expr="(//h5)[2]" position="replace" mode="inner">
Original and Handcrafted Works
</xpath>
<xpath expr="(//p)[2]" position="replace" mode="inner">
Each piece is a one-of-a-kind creation, meticulously handcrafted to convey emotion, thought, and imagination in every brushstroke or sculpted form.
</xpath>
<!-- Card 3 -->
<xpath expr="(//div[hasclass('s_card')])[3]" position="attributes">
<attribute name="class" add="border" separator=" "/>
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
</xpath>
<xpath expr="(//h5)[3]" position="replace" mode="inner">
Bold Use of Color and Texture
</xpath>
<xpath expr="(//p)[3]" position="replace" mode="inner">
My work is known for its vibrant colors and dynamic textures, pushing the boundaries of conventional art forms to evoke a strong emotional response.
</xpath>
<!-- Card 4 -->
<xpath expr="(//div[hasclass('s_card')])[4]" position="attributes">
<attribute name="class" add="border" separator=" "/>
<attribute name="style" add="border-width: 0px !important;" separator=";"/>
</xpath>
<xpath expr="(//h5)[4]" position="replace" mode="inner">
Personalized Art Commissions
</xpath>
<xpath expr="(//p)[4]" position="replace" mode="inner">
I offer bespoke art commissions, collaborating closely with clients to create custom pieces that resonate deeply with their personal stories and spaces.
</xpath>
</template>
</odoo>