comparison sat_templates/templates/default/event/admin.html @ 220:f7d6ae06c42f

python 3 port: replaced iteritems() by items() for dictionaries
author Goffi <goffi@goffi.org>
date Tue, 13 Aug 2019 08:56:22 +0200
parents 178f55b825b7
children aa37750c2617
comparison
equal deleted inserted replaced
219:de4ec87c06d9 220:f7d6ae06c42f
31 <table class="table--main"> 31 <table class="table--main">
32 <tr> 32 <tr>
33 <th>{% trans %}name{% endtrans %}</th> 33 <th>{% trans %}name{% endtrans %}</th>
34 <th>{% trans %}coming?{% endtrans %}</th> 34 <th>{% trans %}coming?{% endtrans %}</th>
35 <th>{% trans %}guests{% endtrans %}</th> 35 <th>{% trans %}guests{% endtrans %}</th>
36 {% for name, data in invitees.iteritems() %} 36 {% for name, data in invitees.items() %}
37 <tr> 37 <tr>
38 <td>{{name}}</td> 38 <td>{{name}}</td>
39 <td>{{data.attend|default('')}}</td> 39 <td>{{data.attend|default('')}}</td>
40 {% if data.attend == 'no' %} 40 {% if data.attend == 'no' %}
41 <td>&nbsp;</td> 41 <td>&nbsp;</td>