diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-08-29 12:41:23 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-08-30 11:10:56 +0200 |
| commit | 6e33301693b9f187e7ec3b60df0b6f619ce76364 (patch) | |
| tree | ea2de64856df2427659007c308805dc65bc7836f /addons/website/static/src/xml/website.editor.xml | |
| parent | b3c4eb46d8ea35ec0409234ea368d0157f00e122 (diff) | |
[REF] website: simplify color preview system in theme dialog
Only one color palette is shown at a time, so no need for the extra
css rules.
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
| -rw-r--r-- | addons/website/static/src/xml/website.editor.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index 0160d40182f..15baaa1f514 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -63,11 +63,11 @@ <t t-name="website.theme_customize_color_palette_button"> <button type="button" t-att-disabled="colorPalette != 'user' ? 'disabled' : undefined" - t-attf-class="btn btn-sm btn-secondary d-flex align-items-center w-100 mt-2 justify-content-between o_theme_customize_color o_theme_customize_color_#{colorPalette}_#{color}" + t-attf-class="btn btn-sm btn-secondary d-flex align-items-center w-100 mt-2 justify-content-between o_theme_customize_color o_theme_customize_color_#{color}" t-att-data-color="color" t-att-data-color-type="color_type"> <t t-esc="color_value"/> - <span/> + <span t-attf-class="o_color_preview bg-#{color}"/> </button> </t> </templates> |
