diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-12-12 13:07:09 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-01-16 17:03:16 +0100 |
| commit | 285d95e946e5a15139c961e30dbe3598e0d99f6a (patch) | |
| tree | 73a9f631d0a601b69fada0f7e56f9a0e65d1fae9 /addons/web/static/src/xml/base.xml | |
| parent | abde8bddf8ec45cf12aab59e95c330321158cfba (diff) | |
[IMP] website: more intuitive image and link edition
- Remove useless snippet background suggestions (only one button to
open the media dialog directly)
- Show meaningful-only tabs in the media dialog (no document as
background, ...)
- When editing a background shows the background suggestions first and
show the background suggestions last for standard images. Technically,
this is done by filtering on the name/fname of the attachments and
adding magic name parts to the fname on image upload (e.g. when
uploading an image from the media dialog when customizing a bg, the
uploaded image will automatically be marked as a background). Note:
there were discussions to implement this feature with a tag system for
ir.attachment/s but the implementation's cost was too great in regards
to the feature.
- When editing an existing link or creating one from selected text, do
not show the "Link Label" field in the dialog; it was confusing. Only
show that field when adding a link at the cursor location with no
selected text.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
