Statistics
| Branch: | Tag: | Revision:

root / invitations / templates / invitations.html @ 123fd2f5

History | View | Annotate | Download (791 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
                "id": "{{ inv.id }}"
19
            }{% if not forloop.last %},{% endif %}
20
        {% endfor %}
21
    ],
22
    "invitations_left": "{{ invitations_left|escapejs }}"
23

    
24
    }
25
{% endspaceless %}