Files
design-themes/theme_yes/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

42 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="s_company_team" inherit_id="website.s_company_team">
<!-- Row #1 - Col #1 -->
<xpath expr="//div[hasclass('col-lg-9')]//h4" position="replace" mode="inner">
Livia Sailor
</xpath>
<xpath expr="//div[hasclass('col-lg-9')]//p" position="replace" mode="inner">
<font style="font-weight: bolder;" class="text-o-color-1">The Founder &amp; Planner</font>
</xpath>
<xpath expr="//div[hasclass('col-lg-9')]//p[2]" position="replace" mode="inner">
Livia is our head wedding coordinator and stylist, she'll turn any of your ideas into reality, making sure your wedding day is smooth and looks better than anything you have ever seen on Pinterest.
</xpath>
<!-- Row #1 - Col #2 -->
<xpath expr="(//div[hasclass('col-lg-9')])[2]//h4" position="replace" mode="inner">
Clair Stark
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[2]//p" position="replace" mode="inner">
<font style="font-weight: bolder;" class="text-o-color-1">The Designer</font>
</xpath>
<xpath expr="(//div[hasclass('col-lg-9')])[2]//p[2]" position="replace" mode="inner">
Livia is our head wedding coordinator and stylist, she'll turn any of your ideas into reality, making sure your wedding day is smooth and looks better than anything you have ever seen on Pinterest.
</xpath>
<!-- Row -->
<xpath expr="//*[hasclass('col-lg-6')][4]" position="replace"/>
<xpath expr="//*[hasclass('col-lg-6')][3]" position="replace"/>
</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/Origins/14_001"}</attribute>
</xpath>
<!-- Shape -->
<xpath expr="//*[hasclass('container')]" position="before">
<div class="o_we_shape o_web_editor_Origins_14_001 o_second_extra_shape_mapping bg-o-color-3"/>
</xpath>
</template>
</odoo>