tickets: Don't use a dict of shows in the overview.
[matthijs/projects/dorestad-bookings.git] / tickets / templates / tickets / bookings.html
index 26d0018ffd7e540056684fcffa960ad12e93ae76..0c0348d93e52ac87d786716bde40cc5375b21319 100644 (file)
@@ -7,13 +7,13 @@
        <tr><th>Voorstelling</th><th>Reserveringen</th><th>Gereserveerde kaarten</th><th>Betaalde kaarten</th></tr>
     </thead>
     <tbody>
-{% for show, info in shows.items %}
+{% for show, info in shows %}
 <tr><td>{{ show }}</td><td>{{ info.bookings|length }}</td><td>{{ info.tickets }}</td><td>{{ info.payed|length }}</td></tr>
 {% endfor %}
     </tbody>
 </table>
 
-{% for show, info in shows.items %}
+{% for show, info in shows %}
 <h2>{{ show }}</h2>
 <table>
     <thead>