Files
design-themes/theme_beauty/views/snippets/s_company_team.xml
T
Antoine (anso) 676e43f93c [IMP] theme_*: adapt themes with new s_company_team design
*: (anelusia, beauty, bewise, graphene, notes, yes)

This commit adapts the design of `s_company_team` for multiple themes,
based on the new Odoo 18 snippet redesign.

task-3657640

closes odoo/design-themes#844

Related: odoo/odoo#172719
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-07-31 07:49:47 +00:00

49 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_company_team" inherit_id="website.s_company_team">
<!-- Section -->
<xpath expr="//section" position="attributes">
<attribute name="class" add="o_cc o_cc4 pt80 pb80" remove="pb48 pt48" separator=" "/>
</xpath>
<!-- Titles -->
<xpath expr="(//div[hasclass('col-lg-9')])[1]/h4" position="replace" mode="inner">
Tony
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[2]/h4" position="replace" mode="inner">
Mich
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[3]/h4" position="replace" mode="inner">
Aline
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[4]/h4" position="replace" mode="inner">
Iris
</xpath>
<!-- Images -->
<xpath expr="//img" position="attributes">
<attribute name="class" add="img-thumbnail" separator=" "/>
</xpath>
<xpath expr="(//img)[2]" position="attributes">
<attribute name="class" add="img-thumbnail" separator=" "/>
</xpath>
<xpath expr="(//img)[3]" position="attributes">
<attribute name="class" add="img-thumbnail" separator=" "/>
</xpath>
<xpath expr="(//img)[4]" position="attributes">
<attribute name="class" add="img-thumbnail" separator=" "/>
</xpath>
</template>
<template id="configurator_s_company_team" inherit_id="website.configurator_s_company_team">
<!-- Shape option -->
<xpath expr="//section" position="attributes">
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/20","flip":["y"]}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//div[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Wavy_20" style="background-image: url('/web_editor/shape/web_editor/Wavy/20.svg?c2=o-color-4&amp;flip=y'); background-position: 50% 0%;"/>
</xpath>
</template>
</odoo>