[IMP] theme_*: adapt s_company_team_basic

task-4144648
Part of: task-4077427

Part-of: odoo/design-themes#919
Related: odoo/odoo#180736
Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
mano-odoo
2024-08-30 17:40:31 +02:00
committed by qsm-odoo
parent 758a0b0c36
commit 11b9705708
13 changed files with 248 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@
'views/snippets/s_cta_box.xml',
'views/snippets/s_company_team.xml',
'views/snippets/s_company_team_basic.xml',
'views/snippets/s_cover.xml',
'views/snippets/s_striped_top.xml',
'views/snippets/s_card_offset.xml',
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<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">
Tony Fred
</xpath>
<!-- Team #01 - Work Description -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[2]/p[last()]" position="replace" mode="inner">
Editor-in-chief
</xpath>
<!-- Team #01 - Img -->
<xpath expr="(//img)[1]" position="attributes">
<attribute name="class" remove="rounded-circle" separator=" "/>
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_1/web_editor/geometric/geo_square_6.svg</attribute>
<attribute name="data-shape">web_editor/geometric/geo_square_6</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">uiface_1.svg</attribute>
<attribute name="data-shape-colors">;;;;</attribute>
</xpath>
<!-- Team #02 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[3]/h4" 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">
Sports Reporter
</xpath>
<!-- Team #02 - Img -->
<xpath expr="(//img)[2]" position="attributes">
<attribute name="class" remove="rounded-circle" separator=" "/>
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_2/web_editor/geometric/geo_square_4.svg</attribute>
<attribute name="data-shape">web_editor/geometric/geo_square_4</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">uiface_2.svg</attribute>
<attribute name="data-shape-colors">;;;;</attribute>
</xpath>
<!-- Team #03 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[4]/h4" 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">
Photograph
</xpath>
<!-- Team #03 - Img -->
<xpath expr="(//img)[3]" position="attributes">
<attribute name="class" remove="rounded-circle" separator=" "/>
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_3/web_editor/geometric/geo_square_3.svg</attribute>
<attribute name="data-shape">web_editor/geometric/geo_square_3</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">uiface_3.svg</attribute>
<attribute name="data-shape-colors">;;;;</attribute>
</xpath>
<!-- Team #04 - Title -->
<xpath expr="//div[hasclass('o_grid_mode')]/div[5]/h4" 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">
Political Reporter
</xpath>
<!-- Team #04 - Img -->
<xpath expr="(//img)[4]" position="attributes">
<attribute name="class" remove="rounded-circle" separator=" "/>
<attribute name="src">/web_editor/image_shape/website.s_company_team_image_4/web_editor/geometric/geo_square_5.svg</attribute>
<attribute name="data-shape">web_editor/geometric/geo_square_5</attribute>
<attribute name="data-original-mimetype">image/jpeg</attribute>
<attribute name="data-file-name">uiface_4.svg</attribute>
<attribute name="data-shape-colors">;;;;</attribute>
</xpath>
</template>
</odoo>