diff options
| author | Jeremy Kersten <jke@odoo.com> | 2018-09-11 22:35:22 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2018-09-13 08:17:09 +0200 |
| commit | 57decbbed6d3d8899b09a58361ae9b30d39a9c03 (patch) | |
| tree | 75d774b1191b33f31364bcb386b78a2169e1623f /addons/web_editor/static/src/xml | |
| parent | 4abfa435ea4c8604013dff73c8444f5e0241bde4 (diff) | |
[FIX] web_editor: fix and improve AltDialog
Ref label
Add tooltip
Fix title from modal -> before this commit, modal title was wrongly replaced by title of image :/
task-1878245
Diffstat (limited to 'addons/web_editor/static/src/xml')
| -rw-r--r-- | addons/web_editor/static/src/xml/editor.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/addons/web_editor/static/src/xml/editor.xml b/addons/web_editor/static/src/xml/editor.xml index 76369f1fc98..ac5cbe6d07b 100644 --- a/addons/web_editor/static/src/xml/editor.xml +++ b/addons/web_editor/static/src/xml/editor.xml @@ -31,15 +31,21 @@ <!-- Alt Dialog (allows to change alt and title of page images) --> <form t-name="web_editor.dialog.alt" action="#"> <div class="form-group row"> - <label class="col-md-3 col-form-label" for="alt">Description (alt tag)</label> + <label class="col-md-3 col-form-label" for="alt" + title="'Alt tag' specifies an alternate text for an image, if the image cannot be displayed (slow connection, missing image, screen reader ...)."> + Description <small>(ALT Tag)</small> + </label> <div class="col-md-8"> <input class="form-control" id="alt" required="required" t-att-value="widget.alt" type="text"/> </div> </div> <div class="form-group row"> - <label class="col-md-3 col-form-label" for="title">Tooltip</label> + <label class="col-md-3 col-form-label" for="title" + title="'Title tag' is shown as a tooltip when you hover the picture."> + Tooltip <small>(TITLE Tag)</small> + </label> <div class="col-md-8"> - <input class="form-control" id="title" required="required" t-att-value="widget.title" type="text"/> + <input class="form-control" id="title" required="required" t-att-value="widget.tag_title" type="text"/> </div> </div> </form> |
