[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>
This commit is contained in:
Denis Rygaert
2025-02-11 14:05:49 +01:00
committed by qsm-odoo
parent f1215976c0
commit 88b06392a3
20 changed files with 80 additions and 87 deletions
@@ -6,38 +6,38 @@
Discover our talented artists
</xpath>
<!-- Team #01 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/h4" position="replace" mode="inner">
<xpath expr="//h4" position="replace" mode="inner">
Tony
</xpath>
<!-- Team #01 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/p[last()]" position="replace" mode="inner">
<xpath expr="//p[hasclass('o_small-fs')]" position="replace" mode="inner">
Lead Singer
</xpath>
<!-- Team #02 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/h4" position="replace" mode="inner">
<xpath expr="(//h4)[2]" position="replace" mode="inner">
Mich
</xpath>
<!-- Team #02 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/p[last()]" position="replace" mode="inner">
<xpath expr="(//p[hasclass('o_small-fs')])[2]" position="replace" mode="inner">
Singer / Song Writer
</xpath>
<!-- Team #03 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/h4" position="replace" mode="inner">
<xpath expr="(//h4)[3]" position="replace" mode="inner">
Aline
</xpath>
<!-- Team #03 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/p[last()]" position="replace" mode="inner">
<xpath expr="(//p[hasclass('o_small-fs')])[3]" position="replace" mode="inner">
Singer
</xpath>
<!-- Team #04 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/h4" position="replace" mode="inner">
<xpath expr="(//h4)[4]" position="replace" mode="inner">
Iris
</xpath>
<!-- Team #04 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/p[last()]" position="replace" mode="inner">
<xpath expr="(//p[hasclass('o_small-fs')])[4]" position="replace" mode="inner">
Singer
</xpath>
</template>
@@ -3,7 +3,7 @@
<template id="s_company_team_shapes" inherit_id="website.s_company_team_shapes">
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc1 pt80 pb80" remove="o_cc2 pt48 pb48" separator=" "/>
<attribute name="class" add="o_cc1 pt80 pb104" remove="o_cc2 pt48 pb48" separator=" "/>
<attribute name="data-oe-shape-data">{'shape':'web_editor/Bold/15','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
</xpath>
<xpath expr="//div[hasclass('o_container_small')]" position="before">