diff options
| author | Xavier Morel <xmo@openerp.com> | 2014-09-08 16:42:15 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2014-10-06 19:13:41 +0200 |
| commit | 4fb49a67f39c5a2c1d56d8c171ab91f81f5cb307 (patch) | |
| tree | 222645102b9c67baf255cf24c97695aa201cc006 /addons/web/static/lib/qweb/qweb-test-attributes.xml | |
| parent | 35f5fb46e78aef1feda4d9cfddd93bd356bdca28 (diff) | |
[ADD] qweb-js: jinja-style interpolation pattern
Diffstat (limited to 'addons/web/static/lib/qweb/qweb-test-attributes.xml')
| -rw-r--r-- | addons/web/static/lib/qweb/qweb-test-attributes.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/web/static/lib/qweb/qweb-test-attributes.xml b/addons/web/static/lib/qweb/qweb-test-attributes.xml index d0d22b179dc..d03c20e922f 100644 --- a/addons/web/static/lib/qweb/qweb-test-attributes.xml +++ b/addons/web/static/lib/qweb/qweb-test-attributes.xml @@ -25,4 +25,17 @@ <t t-name="format-multiple"> <div t-attf-foo="a #{value1} is #{value2} of #{value3} ]"/> </t> + + <t t-name="format2-literal"> + <div t-attf-foo="bar"/> + </t> + <t t-name="format2-value"> + <div t-attf-foo="b{{value}}r"/> + </t> + <t t-name="format2-expression"> + <div t-attf-foo="{{value + 37}}"/> + </t> + <t t-name="format2-multiple"> + <div t-attf-foo="a {{value1}} is {{value2}} of {{value3}} ]"/> + </t> </templates> |
