-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] theme_*: adapt themes with new
s_company_team_spotlight
snippet
*: artists, aviato, bistro, bookstore, kiddo, notes, orchid, vehicle, yes This commit adapts the design of `s_company_team_spotlight` for multiple themes, based on the new Odoo 18 snippet redesign. task-4147920 Part-of: task-4077427
- Loading branch information
Showing
10 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_company_team_spotlight" inherit_id="website.s_company_team_spotlight" name="Artists s_company_team_spotlight"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/> | ||
</xpath> | ||
<!-- Team Member 1 --> | ||
<xpath expr="//div[hasclass('card')]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/> | ||
<attribute name="style">border-width: 0px !important; border-radius: 0px !important;</attribute> | ||
</xpath> | ||
<!-- Team Member 2 --> | ||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/> | ||
<attribute name="style">border-width: 0px !important; border-radius: 0px !important;</attribute> | ||
</xpath> | ||
<!-- Team Member 3 --> | ||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/> | ||
<attribute name="style">border-width: 0px !important; border-radius: 0px !important;</attribute> | ||
</xpath> | ||
<!-- Team Member 4 --> | ||
<xpath expr="(//div[hasclass('card')])[4]" position="attributes"> | ||
<attribute name="class" add="o_cc4" remove="o_cc1" separator=" "/> | ||
<attribute name="style">border-width: 0px !important; border-radius: 0px !important;</attribute> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_company_team_spotlight" inherit_id="website.s_company_team_spotlight" name="Aviato s_company_team_spotlight"> | ||
<xpath expr="//div[hasclass('card')]" position="attributes"> | ||
<attribute name="class" add="border" separator=" "/> | ||
</xpath> | ||
<!-- Team Member 2 --> | ||
<xpath expr="(//div[hasclass('card')])[2]" position="attributes"> | ||
<attribute name="class" add="border" separator=" "/> | ||
</xpath> | ||
<!-- Team Member 3 --> | ||
<xpath expr="(//div[hasclass('card')])[3]" position="attributes"> | ||
<attribute name="class" add="border" separator=" "/> | ||
</xpath> | ||
<!-- Team Member 4 --> | ||
<xpath expr="(//div[hasclass('card')])[4]" position="attributes"> | ||
<attribute name="class" add="border" separator=" "/> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_company_team_spotlight" inherit_id="website.s_company_team_spotlight" name="Bistro s_company_team_spotlight"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_company_team_spotlight" inherit_id="website.s_company_team_spotlight" name="Nano s_company_team_spotlight"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<template id="s_company_team_spotlight" inherit_id="website.s_company_team_spotlight" name="Notes s_company_team_spotlight"> | ||
<!-- Section --> | ||
<xpath expr="//section" position="attributes"> | ||
<attribute name="class" add="o_cc3" remove="o_cc1" separator=" "/> | ||
</xpath> | ||
</template> | ||
|
||
</odoo> |