diff options
| author | Odoo's Mergebot <xmo+roboto@odoo.com> | 2020-02-06 01:29:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-06 01:29:07 +0100 |
| commit | 31b1f411f6a4992b8ea10dbde14996896b4ecb12 (patch) | |
| tree | 0d91bccb4c93c8e0e273217c733940dd63c6b626 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 1e576ee899d7c87a56072a812c5e11085f40cbf2 (diff) | |
| parent | 6fb4ed44a04008a81f860fa24a63d444d70f56b6 (diff) | |
[MERGE] website, web_editor, *: move theme customization to edit mode
*: theme_bootswatch
Previously, theme customization was done through a modal dialog in the
website module, this was not very user friendly since the rest of the
customization for the website design was done from edit mode, meaning
the user had to exit edit mode to customize things such as theme colors
or fonts. It was also rather confusing to have these seemingly related
things in completely unrelated places.
This commit moves all of the options that used to be in the theme
customization modal into a new tab in the editor's left panel.
Instead of having an entirely dedicated system for theme options,
those theme options are now simple snippet options.
See the customizeWebsite generic method.
This allows to make any option available in the third tab or on any
meaningful element like the header or the footer. This also allows to
take advantage of all the features of the left panel: dependencies,
visibility update, etc.
Note: same as before, those changes do apply the color/size/layout
immediately on the website, even if not saved. Changing that behavior
is complex and might be the job of another task.
See sub-commits for details
task-2088298
closes odoo/odoo#41166
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
