show on event list when and if it has any instances

This commit is contained in:
Thomas Steen Rasmussen 2017-08-19 20:44:07 +02:00
parent 8f352d8191
commit 086578d3b8

View file

@ -13,6 +13,7 @@
<th>Type</th>
<th>Title</th>
<th>Speakers</th>
<th>Scheduled</th>
</tr>
</thead>
<tbody>
@ -34,6 +35,13 @@
N/A
{% endfor %}
</td>
<td>
{% for instance in event.instances.all %}
{{ instance.when.lower }}<br>
{% empty %}
<i>No instances scheduled yet</i>
{% endfor %}
</td>
</tr>
{% endif %}
{% endfor %}