mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
5051a4a68a
*: anelusia, artists, beauty, bewise, bistro, bookstore, clean, cobalt, kea, kiddo, monglia, nano, notes, orchid, real_estate, treehouse, vehicle, yes This commit adapts the design of new `s_company_team_grid` snippet for multiple themes. task-4150614 closes odoo/design-themes#901 Part-of: task-4077427 Related: odoo/odoo#179791 Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
28 lines
1020 B
XML
28 lines
1020 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="s_company_team_grid" inherit_id="website.s_company_team_grid">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
|
|
</xpath>
|
|
<!-- Team #01 -->
|
|
<xpath expr="//div[hasclass('card')]" position="attributes">
|
|
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
|
</xpath>
|
|
<!-- Team #02 -->
|
|
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
|
|
<attribute name="class" add="o_cc2" remove="o_cc2" separator=" "/>
|
|
</xpath>
|
|
<!-- Team #03 -->
|
|
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
|
|
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
|
</xpath>
|
|
<!-- Team #05 -->
|
|
<xpath expr="(//div[hasclass('card')])[5]" position="attributes">
|
|
<attribute name="class" add="o_cc4" remove="o_cc2" separator=" "/>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|