summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/qweb/qweb-test-call.xml
AgeCommit message (Collapse)Author
2018-08-13[FIX] web: fix JavaScript qweb and activate testsChristophe Matthieu
Fix the issue of the t-esc display the content before the tag. Activate qweb qunit test (same test for the JavaScript and python) Use the same behavior as python: keep attributes order, and display content as default value when the variable is falsy.
2017-05-04[IMP] web: extend qweb to allow dynamic templates in t-callChristophe Matthieu
Before this change the t-call can use only receive a literal as parameters: <t t-call="template.name17" /> This call render the template 'template.name17' with the current context. Now, we can defined an expression with braces (same syntax that t-attf): <t t-call="template.name{{ 10 + 7 }}" /> This call render the template 'template.name17' with the current context. This change allows for greater flexibility for applications using qweb. (The performance due to this change is unchanged during rendering time.)
2014-10-06[ADD] qweb: call directive's bodyXavier Morel
* __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.
2014-10-06[IMP] qweb doc, testsXavier Morel
* document qweb based (mostly) on JS version * convert JS qweb tests to (mostly) language-independent XML so they can be used for JS and Python implementations * add some more tests (e.g. precedence between t-value and body in t-set) * remove ``t-import`` * fix parity in foreach(dict) (and rename some variables to make array and object versions more similar)
2012-01-17[FIX] QWeb: fix 2 unit testsFabien Meghazi
bzr revid: fme@openerp.com-20120117212234-u4wo2m9c3ew2t6ej
2011-09-05rename base into web part1Antony Lesuisse
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1