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_card snippet
*: avantgarde, aviato, beauty, bewise, bistro,bookstore, buzzy, clean, cobalt, kea, kiddo, monglia, nano, notes, Orchid, paptic, real_estate, vehicle, yes, zap This commit adapts the design of `s_company_team_card` for multiple themes, based on the new Odoo 18 snippet redesign. task-4149441 closes odoo/design-themes#902 Part-of: task-4077427 Related: odoo/odoo#179843 Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
This commit is contained in:
committed by
Chrysanthe (chgo)
parent
245ccafd24
commit
e564c44dfc
@@ -46,6 +46,7 @@
|
||||
'views/snippets/s_pricelist_boxed.xml',
|
||||
'views/snippets/s_image_hexagonal.xml',
|
||||
'views/snippets/s_striped_center_top.xml',
|
||||
'views/snippets/s_company_team_card.xml',
|
||||
'views/snippets/s_image_title.xml',
|
||||
'views/snippets/s_image_punchy.xml',
|
||||
'views/snippets/s_key_images.xml',
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_company_team_card" inherit_id="website.s_company_team_card" name="Kea's s_company_team_card">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc1" remove="o_cc5" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team Member 1 -->
|
||||
<xpath expr="//div[hasclass('card')]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team Member 2 -->
|
||||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team Member 3 -->
|
||||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Team Member 4 -->
|
||||
<xpath expr="(//div[hasclass('card')])[4]" position="attributes">
|
||||
<attribute name="class" add="o_cc4" remove="o_cc3" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user