diff options
Diffstat (limited to 'addons/web/static/lib/qweb/qweb-test-foreach.xml')
| -rw-r--r-- | addons/web/static/lib/qweb/qweb-test-foreach.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/addons/web/static/lib/qweb/qweb-test-foreach.xml b/addons/web/static/lib/qweb/qweb-test-foreach.xml new file mode 100644 index 00000000000..80749882aaf --- /dev/null +++ b/addons/web/static/lib/qweb/qweb-test-foreach.xml @@ -0,0 +1,17 @@ +<templates> + <t t-name="repetition-text-content" t-foreach="seq">*</t> + <t t-name="repetition-dom-content" t-foreach="seq"><b/></t> + <b t-name="repetition-self" t-foreach="seq"/> + + <t t-name="scope-self" t-foreach="seq" t-esc="seq"/> + <t t-name="scope-value" t-foreach="seq" t-esc="seq_value"/> + <t t-name="scope-index" t-foreach="seq" t-esc="seq_index"/> + <t t-name="scope-first" t-foreach="seq"><t t-esc="seq_first"/> </t> + <t t-name="scope-last" t-foreach="seq"><t t-esc="seq_last"/> </t> + <t t-name="scope-parity" t-foreach="seq"><t t-esc="seq_parity"/> </t> + <t t-name="scope-size" t-foreach="seq"><t t-esc="seq_size"/> </t> + + <t t-name="aliasing" t-foreach="seq" t-as="item" t-esc="item"/> + <t t-name="loopvars-aliasing" + t-foreach="seq" t-as="item"><t t-esc="item_parity"/> </t> +</templates> |
