mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -3,11 +3,11 @@
|
||||
|
||||
<template id="s_company_team_basic" inherit_id="website.s_company_team_basic">
|
||||
<!-- 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 Fred
|
||||
</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">
|
||||
Editor-in-chief
|
||||
</xpath>
|
||||
<!-- Team #01 - Img -->
|
||||
@@ -21,11 +21,11 @@
|
||||
</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 Stark
|
||||
</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">
|
||||
Sports Reporter
|
||||
</xpath>
|
||||
<!-- Team #02 - Img -->
|
||||
@@ -39,11 +39,11 @@
|
||||
</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 Turner
|
||||
</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">
|
||||
Photograph
|
||||
</xpath>
|
||||
<!-- Team #03 - Img -->
|
||||
@@ -57,11 +57,11 @@
|
||||
</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 Joe
|
||||
</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">
|
||||
Political Reporter
|
||||
</xpath>
|
||||
<!-- Team #04 - Img -->
|
||||
|
||||
@@ -11,16 +11,16 @@
|
||||
Every style for everybody.
|
||||
</xpath>
|
||||
<!-- Partners -->
|
||||
<xpath expr="//div[hasclass('row')]/div[2]/p" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('row')]/div/p" position="replace" mode="inner">
|
||||
Redefining elegance since 2009
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[3]/p" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('row')]/div[2]/p" position="replace" mode="inner">
|
||||
Disrupting fashion since 2013
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[4]/p" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('row')]/div[3]/p" position="replace" mode="inner">
|
||||
Shaping your style since 2015
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[5]/p" position="replace" mode="inner">
|
||||
<xpath expr="//div[hasclass('row')]/div[4]/p" position="replace" mode="inner">
|
||||
Transforming trends since 2018
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user