root / snf-pithos-app / pithos / api / templates / containers.xml @ 8c306eab
History | View | Annotate | Download (435 Bytes)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
{% load get_type %} |
3 |
<account name="{{ account }}"> |
4 |
{% for container in containers %} |
5 |
<container>
|
6 |
{% for key, value in container.items %} |
7 |
<{{ key }}>{% if value|get_type == "dict" %} |
8 |
{% for k, v in value.iteritems %}<key>{{ k }}</key><value>{{ v }}</value> |
9 |
{% endfor %} |
10 |
{% else %}{{ value }}{% endif %}</{{ key }}> |
11 |
{% endfor %} |
12 |
</container>
|
13 |
{% endfor %} |
14 |
</account>
|