2018-05-09 22:24:08 +00:00
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2019-01-02 23:12:55 +00:00
|
|
|
<th class="w-1/5">Date</th>
|
|
|
|
{% if not talk_page %}<th class="w-1/3">Talk</th>{% endif %}
|
2018-05-09 22:24:08 +00:00
|
|
|
<th>Event</th>
|
2019-01-02 23:12:55 +00:00
|
|
|
{% if not upcoming %}<th class="w-1/6">Feedback</th>{% endif %}
|
2018-05-09 22:24:08 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2018-05-27 21:02:34 +00:00
|
|
|
{% for talk in talks %}
|
|
|
|
<tr>
|
2019-01-02 23:12:55 +00:00
|
|
|
<td>
|
2018-06-15 11:36:30 +00:00
|
|
|
<span class="block md:hidden">
|
|
|
|
{{ talk.event.date|date(talk.event.fuzzy_date ? 'M Y' : 'j M Y') }}
|
|
|
|
</span>
|
|
|
|
<span class="hidden md:block">
|
|
|
|
{{ talk.event.date|date(talk.event.fuzzy_date ? 'F Y' : 'j F Y') }}
|
|
|
|
</span>
|
2018-05-27 21:02:34 +00:00
|
|
|
|
|
|
|
{% if talk.event.time is defined %}
|
|
|
|
<div class="text-xs text-grey-dark">
|
|
|
|
{{ talk.event.time }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
{% if not talk_page %}
|
2018-06-15 11:17:45 +00:00
|
|
|
<td class="whitespace-no-wrap xl:whitespace-normal">
|
2018-05-27 21:02:34 +00:00
|
|
|
{% if talk.talk.url is not empty %}
|
2018-05-28 23:33:00 +00:00
|
|
|
<a href="{{ talk.talk.url }}" class="link">
|
2018-05-27 21:02:34 +00:00
|
|
|
{{ talk.talk.title }}
|
|
|
|
</a>
|
|
|
|
{% else %}
|
2018-05-28 23:33:00 +00:00
|
|
|
{{ talk.talk.title }}
|
2018-05-27 21:02:34 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<div class="text-xs text-grey-dark">
|
|
|
|
{% if talk.talk.type %}
|
|
|
|
{{ talk.talk.type }}
|
|
|
|
{% else %}
|
|
|
|
{{ talk.event.type|default('Talk') }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
{% endif %}
|
|
|
|
|
2019-01-02 23:12:55 +00:00
|
|
|
<td class="whitespace-no-wrap xl:whitespace-normal">
|
2018-06-20 22:56:56 +00:00
|
|
|
{% if talk.event.url is not empty %}
|
|
|
|
<a href="{{ talk.event.url }}" class="link">
|
2018-05-27 21:02:34 +00:00
|
|
|
{{ talk.event.name }}
|
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
{{ talk.event.name }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if talk.event.location is defined %}
|
|
|
|
<div class="text-xs text-grey-dark">
|
|
|
|
{{ talk.event.location }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
{% if not upcoming %}
|
|
|
|
<td>
|
|
|
|
{% if talk.event.joindin and talk.event.date <= 'today'|date('Y-m-d') %}
|
|
|
|
<a
|
|
|
|
href="{{ talk.event.joindin }}"
|
2018-05-28 23:33:00 +00:00
|
|
|
class="button no-underline"
|
2018-05-27 21:02:34 +00:00
|
|
|
title="Read or leave feedback for this talk"
|
|
|
|
>
|
|
|
|
<i class="fa fa-comment-o"></i> joind.in
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
{% endif %}
|
|
|
|
</tr>
|
2018-05-09 22:24:08 +00:00
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|