mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_avantgarde: add and customize wsale categories snippet
This commit includes and customize the `website_sale.s_dynamic_snippet_category_list` snippet in the default snippet sequence of the theme's homepage. task-5009694 Part-of: odoo/design-themes#1137 Related: odoo/odoo#225310 Signed-off-by: Antoine Sougné (anso) <anso@odoo.com>
This commit is contained in:
@@ -25,6 +25,30 @@
|
|||||||
'configurator_snippets': {
|
'configurator_snippets': {
|
||||||
'homepage': ['s_sidegrid', 's_features_wall', 's_carousel', 's_timeline', 's_quadrant'],
|
'homepage': ['s_sidegrid', 's_features_wall', 's_carousel', 's_timeline', 's_quadrant'],
|
||||||
},
|
},
|
||||||
|
'configurator_snippets_addons': {
|
||||||
|
'website_sale': {
|
||||||
|
'homepage': [
|
||||||
|
('website_sale.s_dynamic_snippet_category_list', 'after', 's_carousel'),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'theme_customizations': {
|
||||||
|
'website_sale.s_dynamic_snippet_category_list': {
|
||||||
|
'data_attributes': {
|
||||||
|
'columns': '2',
|
||||||
|
'alignment': 'right',
|
||||||
|
},
|
||||||
|
'add_classes': [
|
||||||
|
'pt88', 'pb88',
|
||||||
|
{
|
||||||
|
's_dynamic_snippet_title': 's_dynamic_snippet_title_aside col-lg-3 flex-lg-column justify-content-lg-start'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
'remove_classes': [
|
||||||
|
'pt64', 'pb64',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
'depends': ['theme_common'],
|
'depends': ['theme_common'],
|
||||||
'author': 'Odoo S.A.',
|
'author': 'Odoo S.A.',
|
||||||
'license': 'LGPL-3',
|
'license': 'LGPL-3',
|
||||||
|
|||||||
Reference in New Issue
Block a user