mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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>
This commit is contained in:
committed by
Chrysanthe (chgo)
parent
b9b7ebd9e9
commit
5051a4a68a
@@ -55,6 +55,7 @@
|
||||
'views/snippets/s_images_constellation.xml',
|
||||
'views/snippets/s_text_cover.xml',
|
||||
'views/snippets/s_empowerment.xml',
|
||||
'views/snippets/s_company_team_grid.xml',
|
||||
'views/new_page_template.xml',
|
||||
|
||||
],
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user