diff options
| author | Andrea Ulliana <aul@odoo.com> | 2019-06-26 12:23:19 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-07-30 09:59:22 +0000 |
| commit | 15bae2920cf6cf9e8f399ecc0374da04654ef66f (patch) | |
| tree | 58ae0964d5fc6fd5feb1a93ea6d81ef4d33dc99a /addons/theme_default | |
| parent | e4b75149f7ca29b4020f8afc1c414df8e85835ad (diff) | |
[IMP] website: introduce "auto" widget for theme modal
The theme customize dialog implements its own system of widgets. For
example: data-widget="color" and data-widget="input". Now, a new type of
widget data-widget="auto" exists. The goal is the same as the
data-widget="input" but with a predefined value that the user cannot
choose.
Also, as "data-value" was badly chosen during its implementation, it
is now renamed to "data-variable" and "data-value" is now used with the
new widget.
Example of the new widget "auto":
<opt data-widget="auto" data-variable="logo-height" data-value="3rem"
string="Logo Height"/>
-> Allows to create a button forcing the logo height to 3rem.
Part of https://github.com/odoo/odoo/pull/33442
task-1974659
Diffstat (limited to 'addons/theme_default')
0 files changed, 0 insertions, 0 deletions
