-
- Downloads
[IMP] website: auto-discover all available fonts in the theme modal
Before this commit, if a theme had more fonts that the default number (6), it had to override the customize dialog. Now, the number of fonts to add in the list is found automatically. To do so, instead of defining a <selection/> tag with 6+ <opt/> tag, we are now able to define an unique new tag: <fontselection/> which will do automatically the job. Part of https://github.com/odoo/odoo/pull/33442 task-1974659
Showing
- addons/website/static/src/js/widgets/theme.js 14 additions, 0 deletionsaddons/website/static/src/js/widgets/theme.js
- addons/website/static/src/scss/website.scss 1 addition, 0 deletionsaddons/website/static/src/scss/website.scss
- addons/website/views/website_templates.xml 4 additions, 32 deletionsaddons/website/views/website_templates.xml
Loading
Please register or sign in to comment