summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2015-02-10 17:39:31 +0100
committerChristophe Matthieu <chm@odoo.com>2015-02-11 12:31:52 +0100
commite8526dd01386afdc8ea81fad8237a6ad858f30a7 (patch)
tree97915ab8b060d172ca55abc1733410287116e31a /addons/website/static/src/xml/website.editor.xml
parent8d34ada28234cc5e87aee72e268087e1bb09cad8 (diff)
[IMP] website: menu editor open a modal to select the menu to edit if more of one menu in the page (like event)
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
-rw-r--r--addons/website/static/src/xml/website.editor.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index cdcba3295b1..bef9c4d97da 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -24,7 +24,8 @@
</div>
<div class="modal-body"><t t-raw="0"/></div>
<div class="modal-footer">
- <button type="button" class="btn btn-primary save">Save</button>
+ <button type="button" class="btn btn-primary save" t-if="!button">Save</button>
+ <button type="button" class="btn btn-primary save" t-if="button"><t t-raw="button"/></button>
<button type="button" class="btn hidden wait" disabled="disabled"/>
or
<a href="#" data-dismiss="modal" aria-hidden="true">Discard</a>