mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_monglia: 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:
committed by
Antoine (anso)
parent
4c118e0bd0
commit
afb75eef0f
@@ -37,6 +37,34 @@
|
|||||||
'configurator_snippets': {
|
'configurator_snippets': {
|
||||||
'homepage': ['s_cover', 's_numbers_grid', 's_company_team_shapes', 's_text_block', 's_freegrid', 's_cta_box', 's_shape_image', 's_title', 's_images_wall', 's_faq_collapse', 's_references'],
|
'homepage': ['s_cover', 's_numbers_grid', 's_company_team_shapes', 's_text_block', 's_freegrid', 's_cta_box', 's_shape_image', 's_title', 's_images_wall', 's_faq_collapse', 's_references'],
|
||||||
},
|
},
|
||||||
|
'configurator_snippets_addons': {
|
||||||
|
'website_sale': {
|
||||||
|
'homepage': [
|
||||||
|
('website_sale.s_dynamic_snippet_category_list', 'after', 's_shape_image'),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'theme_customizations': {
|
||||||
|
'website_sale.s_dynamic_snippet_category_list': {
|
||||||
|
'data_attributes': {
|
||||||
|
'columns': '2',
|
||||||
|
'rounded': '4',
|
||||||
|
'gap': '4',
|
||||||
|
},
|
||||||
|
'background': {
|
||||||
|
'color': 'o_cc4',
|
||||||
|
},
|
||||||
|
'add_classes': [
|
||||||
|
'pb88',
|
||||||
|
{
|
||||||
|
's_dynamic_snippet_title': 'd-none'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
'remove_classes': [
|
||||||
|
'pt64', 'pb64',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
'new_page_templates': {
|
'new_page_templates': {
|
||||||
'about': {
|
'about': {
|
||||||
'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'],
|
'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'],
|
||||||
|
|||||||
Reference in New Issue
Block a user