Files
design-themes/theme_bistro/views/snippets/s_company_team_grid.xml
T
Xavier Luyckx (xlu) 5051a4a68a [IMP] theme_*: adapt themes with new s_company_team_grid snippet
*: 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>
2025-02-12 17:48:34 +00:00

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>