blob: 945fd4a2a0dc89f91d891ca7726bd2955d3be074 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
<templates>
<t t-name="set-from-attribute-literal">
<t t-set="value" t-value="'ok'"/>
<t t-esc="value"/>
</t>
<result id="set-from-attribute-literal">
ok
</result>
<t t-name="set-from-body-literal">
<t t-set="value">ok</t>
<t t-esc="value"/>
</t>
<result id="set-from-body-literal">
ok
</result>
<t t-name="set-from-attribute-lookup">
<t t-set="stuff" t-value="value"/>
<t t-esc="stuff"/>
</t>
<params id="set-from-attribute-lookup">
{"value": "ok"}
</params>
<result id="set-from-attribute-lookup">
ok
</result>
<t t-name="set-from-body-lookup">
<t t-set="stuff">
<t t-esc="value"/>
</t>
<t t-esc="stuff"/>
</t>
<params id="set-from-body-lookup">
{"value": "ok"}
</params>
<result id="set-from-body-lookup">
ok
</result>
<t t-name="set-empty-body">
<t t-set="stuff"/>
<t t-esc="stuff"/>
</t>
<result id="set-empty-body"/>
<t t-name="t-value-priority">
<t t-set="value" t-value="1">2</t>
<t t-esc="value"/>
</t>
<result id="t-value-priority">1</result>
</templates>
|