Files
design-themes/theme_bewise/__manifest__.py
T
Morgane (morm) 80cbee66f6 [IMP] theme_*: adapt New Page template designs for themes
This commit customizes all New Page template designs for every single
theme.

The changes are organized as follow:

When the used blocks are not the default ones:
- the new sequence of block is listed in the `new_page_templates`
manifest entry.
- the blocks are updated in the `new_page_template_sections_..._...`
XML templates accordingly.

After the potential block sequence updates, the `new_page_template.xml`
then first contains the general customization of blocks (those that
apply across all new page templates) then the customization for each
category of page.

Customizations for a specific page are directly below category-wide
customizations of the given block when both exist.

task-3381714

closes odoo/design-themes#692

Related: odoo/odoo#126719
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Co-authored-by: Benoit Socias <bso@odoo.com>
Co-authored-by: Arthur Detroux (ard) <ard@odoo.com>
2023-10-14 03:27:02 +00:00

38 lines
1.6 KiB
Python

{
'name': 'Be Wise Theme',
'description': 'Be Wise Theme',
'category': 'Theme/Education',
'summary': 'University, Education, Schools, Young, Play, Kids',
'sequence': 240,
'version': '2.1.0',
'depends': ['theme_common'],
'data': [
'data/ir_asset.xml',
'views/image_content.xml',
'views/customizations.xml',
'views/new_page_template.xml',
],
'images': [
'static/description/bewise_description.jpg',
'static/description/bewise_screenshot.jpg',
],
'images_preview_theme': {
'website.s_cover_default_image': '/theme_bewise/static/src/img/backgrounds/college_bg.jpg',
'website.s_text_image_default_image': '/theme_bewise/static/src/img/content/college_graduate.jpg',
'website.s_image_text_default_image': '/theme_bewise/static/src/img/content/college_students.jpg',
'website.s_media_list_default_image_1': '/theme_bewise/static/src/img/content/college_media_1.jpg',
'website.s_media_list_default_image_2': '/theme_bewise/static/src/img/content/college_media_2.jpg',
'website.s_quotes_carousel_demo_image_0': '/theme_bewise/static/src/img/backgrounds/college_bg_4.jpg',
},
'configurator_snippets': {
'homepage': ['s_cover', 's_call_to_action', 's_text_image', 's_numbers', 's_image_text', 's_quotes_carousel', 's_color_blocks_2'],
},
'license': 'LGPL-3',
'live_test_url': 'https://theme-bewise.odoo.com',
'assets': {
'website.assets_editor': [
'theme_bewise/static/src/js/tour.js',
],
}
}