root / invitations / templates / invitations.html @ 1e827d67
History | View | Annotate | Download (753 Bytes)
1 |
{% spaceless %} |
---|---|
2 |
{"errors": [ |
3 |
{% if errors %} |
4 |
{% for error in errors %} |
5 |
{ |
6 |
"msg": "{{ error|escapejs }}" |
7 |
}{% if not forloop.last %},{% endif %} |
8 |
{% endfor %} |
9 |
{% endif %} |
10 |
], |
11 |
"invitations" : [ |
12 |
{% for inv in invitations %} |
13 |
{ |
14 |
"updated": "{{ inv.updated|date }}", |
15 |
"accepted": {% if inv.accepted %}true{% else %}false{% endif %}, |
16 |
"targetname": "{{ inv.targetname|escapejs }}", |
17 |
"target": "{{ inv.target|escapejs }}" |
18 |
}{% if not forloop.last %},{% endif %} |
19 |
{% endfor %} |
20 |
], |
21 |
"invitations_left": "{{ invitations_left|escapejs }}" |
22 |
|
23 |
} |
24 |
{% endspaceless %} |