2017-03-06 20:39:47 +00:00
|
|
|
<div class="table-responsive" style="overflow-x: auto">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
2016-10-27 06:08:45 +00:00
|
|
|
<tr>
|
2017-03-06 20:39:47 +00:00
|
|
|
<th>Date</th>
|
|
|
|
{% if show_talk %}<th>Talk</th>{% endif %}
|
|
|
|
<th>Event</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% set events = reverse_order ? events|sortbyfield('date')|reverse : events|sortbyfield('date') %}
|
|
|
|
{% for event in events %}
|
|
|
|
<tr>
|
2017-03-06 08:16:34 +00:00
|
|
|
<td>
|
2017-03-06 20:39:47 +00:00
|
|
|
{{ event.date|date('j F Y') }}
|
2017-03-06 08:16:34 +00:00
|
|
|
</td>
|
2016-10-27 06:08:45 +00:00
|
|
|
|
2017-03-06 20:39:47 +00:00
|
|
|
{% if show_talk %}
|
|
|
|
<td>
|
|
|
|
<a href="{{ event.talk.url }}">
|
|
|
|
{{ event.talk.title }}
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<td>
|
|
|
|
{% if event.website %}<a href="{{ event.website }}">{% endif %}
|
|
|
|
{{ event.title }}
|
|
|
|
{% if event.website %}</a>{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|