[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>
This commit is contained in:
Morgane (morm)
2023-09-04 17:08:15 +02:00
committed by Benoit Socias
parent 230ded2759
commit 80cbee66f6
54 changed files with 6093 additions and 0 deletions
+6
View File
@@ -29,6 +29,7 @@
'views/snippets/s_parallax.xml',
'views/snippets/s_comparisons.xml',
'views/snippets/s_quotes_carousel.xml',
'views/new_page_template.xml',
],
'images': [
'static/description/notes_description.jpg',
@@ -46,6 +47,11 @@
'configurator_snippets': {
'homepage': ['s_carousel', 's_masonry_block', 's_text_image', 's_product_catalog', 's_media_list', 's_company_team'],
},
'new_page_templates': {
'about': {
'personal': ['s_text_cover', 's_image_text', 's_text_block_h2', 's_numbers', 's_features', 's_call_to_action'],
},
},
'license': 'LGPL-3',
'live_test_url': 'https://theme-notes.odoo.com',
'assets': {