diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-10-21 15:00:16 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-11-18 09:56:08 +0000 |
| commit | ed8133c72f6d98e88efe318975c9c54bcfc64649 (patch) | |
| tree | 05924f1cb1799702cbc6f69bfbd053a8398a59b8 /addons/web_editor/static/src/xml | |
| parent | c611d92191f9bbb901874af825130bfa60004002 (diff) | |
[IMP] web_editor, *: allow snippet options next to clone/delete buttons
* website
Now snippet options can be defined as a button which can be placed next
to the clone and delete buttons, through a new "isTopOption" method.
This commit also review the buttons and title design and take advantage
of the feature to review the way snippets options are added in their
container (that code indeed contained useless part since 13.0).
Part of https://github.com/odoo/odoo/pull/38959
task-2066614
Diffstat (limited to 'addons/web_editor/static/src/xml')
| -rw-r--r-- | addons/web_editor/static/src/xml/snippets.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_editor/static/src/xml/snippets.xml b/addons/web_editor/static/src/xml/snippets.xml index 8e1fe723f0d..05428a2dbaa 100644 --- a/addons/web_editor/static/src/xml/snippets.xml +++ b/addons/web_editor/static/src/xml/snippets.xml @@ -19,10 +19,10 @@ <we-title> <span t-esc="name"/> <we-button-group> - <we-button class="fa fa-files-o oe_snippet_clone" + <we-button class="fa fa-fw fa-clone oe_snippet_clone" title="Duplicate Container" aria-label="Duplicate Container"/> - <we-button class="fa fa-trash-o oe_snippet_remove" + <we-button class="fa fa-fw fa-trash oe_snippet_remove" title="Remove Block" aria-label="Remove Block"/> </we-button-group> |
