projects
/
matthijs
/
projects
/
dorestad-bookings.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tickets: Don't use a dict of shows in the overview.
[matthijs/projects/dorestad-bookings.git]
/
tickets
/
templates
/
tickets
/
bookings.html
diff --git
a/tickets/templates/tickets/bookings.html
b/tickets/templates/tickets/bookings.html
index 26d0018ffd7e540056684fcffa960ad12e93ae76..0c0348d93e52ac87d786716bde40cc5375b21319 100644
(file)
--- a/
tickets/templates/tickets/bookings.html
+++ b/
tickets/templates/tickets/bookings.html
@@
-7,13
+7,13
@@
<tr><th>Voorstelling</th><th>Reserveringen</th><th>Gereserveerde kaarten</th><th>Betaalde kaarten</th></tr>
</thead>
<tbody>
<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>
<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>
<h2>{{ show }}</h2>
<table>
<thead>