This commit is contained in:
Oliver Davies 2018-05-09 23:24:08 +01:00
parent 66667bcb5b
commit 4fa5cd767d
38 changed files with 996 additions and 76 deletions

View file

@ -0,0 +1,59 @@
<tr>
<td>
{{ row.event.date|date(row.event.fuzzy_date ? 'F Y' : 'j F Y') }}
{% if row.event.time is defined %}
<div class="text-xs text-grey-dark">
{{ row.event.time }}
</div>
{% endif %}
</td>
{% if not talk_page %}
<td>
{% if row.talk.url is not empty %}
<a href="{{ row.talk.url }}">
{{ row.talk.title }}
</a>
{% else %}
{{ row.talk.title }}
{% endif %}
<div class="text-xs text-grey-dark">
{% if row.talk.type %}
{{ row.talk.type }}
{% else %}
{{ row.event.type|default('Talk') }}
{% endif %}
</div>
</td>
{% endif %}
<td>
{% if row.event.website is not empty %}
<a href="{{ row.event.website }}">
{{ row.event.name }}
</a>
{% else %}
{{ row.event.name }}
{% endif %}
{% if row.event.location is defined %}
<div class="text-xs text-grey-dark">
{{ row.event.location }}
</div>
{% endif %}
</td>
{% if not upcoming %}
<td>
{% if row.event.feedback and row.event.date <= today %}
<a href="{{ row.event.feedback }}"
class="button"
title="Read or leave feedback for this talk">
<i class="fa fa-comment-o"></i> joind.in
</a>
{% endif %}
</td>
{% endif %}
</tr>

View file

@ -0,0 +1,26 @@
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th class="w-1/4">Date</th>
{% if not talk_page %}
<th class="w-1/3">Talk</th>
{% endif %}
<th>Event</th>
{% if not upcoming %}
<th>Feedback</th>
{% endif %}
</tr>
</thead>
<tbody>
{% for row in talks %}
{% include "talks-table-row" with {
today: 'today'|date('Y-m-d')
} %}
{% endfor %}
</tbody>
</table>
</div>