summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2014-09-11 10:51:08 +0200
committerXavier Morel <xmo@openerp.com>2014-10-06 19:13:45 +0200
commitd5e3d121e3733de189605da7f830ff3d7c20b8d8 (patch)
tree4daf7ad43b8cb665261387860a950283cced2615 /addons/website/static/src/xml
parent2ffcff8fa9bd58beee33170be5a11649ec282602 (diff)
[ADD] qweb: call directive's body
* __content__ can't be used in Python implementation because safe_eval, so use ``0`` from Python implementation instead * remove postfix from t-call tests because due to implementation details all whitespace crap following a t-name is added to rendered template in Python impl, and don't want to normalize whitespace.
Diffstat (limited to 'addons/website/static/src/xml')
-rw-r--r--addons/website/static/src/xml/website.editor.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index 13b80b1e706..50b6cf03b8c 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -22,7 +22,7 @@
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 class="modal-title"><t t-esc="title"/></h3>
</div>
- <div class="modal-body"><t t-raw="__content__"/></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 hidden wait" disabled="disabled"/>