Files
design-themes/theme_orchid/views/snippets/s_company_team_basic.xml
T
Denis Rygaert 88b06392a3 [FIX] theme_anelusia, *: update xpath to removed s_nb_column_fixed
*: theme_bewise, theme_cobalt, theme_kiddo, theme_loftspace,
   theme_monglia, theme_nano, theme_notes, theme_odoo_experts,
   theme_orchid, theme_paptic, theme_yes, theme_zap

Multiple snippet template where changed to ensure that the title is not
considered as a column and allowing changing the nb of columns again.
This commit adapts all the xpath that were impacted by those changes.

task-4310468

closes odoo/design-themes#1047

Related: odoo/odoo#195409
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-03-31 23:05:39 +00:00

43 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc2" remove="o_cc1" separator=" "/>
</xpath>
<xpath expr="//h3" position="replace">
<h2 style="text-align: center">Meet the Team</h2>
</xpath>
<!-- Person 1 -->
<xpath expr="//h4" position="replace" mode="inner">
Tony Fred, Floral Director
</xpath>
<xpath expr="//p[2]" position="replace" mode="inner">
Tony leads the creative vision for the shop.
</xpath>
<!-- Person 2 -->
<xpath expr="(//h4)[2]" position="replace" mode="inner">
Mich Stark, Operations Manager
</xpath>
<xpath expr="(//p[hasclass('o_small-fs')])[2]" position="replace" mode="inner">
Mich makes sure everything runs smoothly.
</xpath>
<!-- Person 3 -->
<xpath expr="(//h4)[3]" position="replace" mode="inner">
Aline Turner, Bouquet Designer
</xpath>
<xpath expr="(//p[hasclass('o_small-fs')])[3]" position="replace" mode="inner">
Aline is the mastermind behind our bespoke floral arrangements.
</xpath>
<!-- Person 4 -->
<xpath expr="(//h4)[4]" position="replace" mode="inner">
Iris Joe, Customer Relations
</xpath>
<xpath expr="(//p[hasclass('o_small-fs')])[4]" position="replace" mode="inner">
Iris ensures that each customer has a delightful experience.
</xpath>
</template>
</odoo>