summaryrefslogtreecommitdiff
path: root/addons/web/static/src
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/web/static/src
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/web/static/src')
-rw-r--r--addons/web/static/src/xml/base.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 32ef66d697b..3eb4638ac53 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -577,7 +577,7 @@
</t>
<t t-name="ViewPager">
<div class="oe_pager_value">
- <t t-raw="__content__"/>
+ <t t-raw="0"/>
</div>
<ul class="oe_pager_group">
<!--
@@ -1373,7 +1373,7 @@
method="post" enctype="multipart/form-data" t-att-action="fileupload_action || '/web/binary/upload'">
<input type="hidden" name="session_id" value="" t-if="widget.session.override_session"/>
<input type="hidden" name="callback" t-att-value="fileupload_id"/>
- <t t-raw="__content__"/>
+ <t t-raw="0"/>
<input type="file" class="oe_form_binary_file" name="ufile" t-if="widget.widget!='image'"/>
<input type="file" class="oe_form_binary_file" name="ufile" accept="image/*" t-if="widget.widget=='image'"/>
</form>