diff options
| author | Xavier Morel <xmo@openerp.com> | 2013-09-13 13:41:43 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2013-09-13 13:41:43 +0200 |
| commit | f16b61cbe61a77cf331a54ea11520322e7730739 (patch) | |
| tree | 20f68a87fd4a3c8f437060e9717ded613243b661 /addons/website/static/src/xml/website.editor.xml | |
| parent | e2676729b0e5b0a58e0d19b109deaf8e1983f791 (diff) | |
[ADD] separate attachment dialog selector
bzr revid: xmo@openerp.com-20130913114143-v799fvf08rpiox3r
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
| -rw-r--r-- | addons/website/static/src/xml/website.editor.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index 03d0cd19849..98a5af1c184 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -103,7 +103,7 @@ <p class="">— or —</p> </div> <div class="well"> - <!-- a href="#" class="pull-left">Find image</a --> + <a href="#existing" class="pull-right">Browse your images</a> <h3 class="list-group-item-heading">Image URL</h3> <input type="text" class="form-control url" placeholder="http://openerp.com"/> @@ -120,6 +120,14 @@ </t> </t> <t t-name="website.editor.dialog.image.existing"> + <t t-call="website.editor.dialog"> + <t t-set="title">Pick an existing attachment:</t> + <div class="well"> + <div class="existing-attachments"/> + </div> + </t> + </t> + <t t-name="website.editor.dialog.image.existing.content"> <div class="existing-attachments"> <div class="row" t-foreach="rows" t-as="row"> <div class="col-md-4" t-foreach="row" t-as="attachment"> |
