show on event list when and if it has any instances
This commit is contained in:
parent
8f352d8191
commit
086578d3b8
|
@ -13,6 +13,7 @@
|
||||||
<th>Type</th>
|
<th>Type</th>
|
||||||
<th>Title</th>
|
<th>Title</th>
|
||||||
<th>Speakers</th>
|
<th>Speakers</th>
|
||||||
|
<th>Scheduled</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -34,6 +35,13 @@
|
||||||
N/A
|
N/A
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
{% for instance in event.instances.all %}
|
||||||
|
{{ instance.when.lower }}<br>
|
||||||
|
{% empty %}
|
||||||
|
<i>No instances scheduled yet</i>
|
||||||
|
{% endfor %}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue