This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_includes/talks-table-row.html.twig
2017-10-28 02:00:55 +01:00

53 lines
1.4 KiB
Twig

<tr class="striped--near-white">
<td class="pa2">
{{ row.event.date|date(row.event.fuzzy_date ? 'F Y' : 'j F Y') }}
{% if row.event.time is defined %}
<small class="db black-70">
{{ row.event.time }}
</small>
{% endif %}
</td>
{% if not talk_page %}
<td class="pa2">
<a href="{{ row.talk.url }}">
{{ row.talk.title }}
</a>
<small class="db black-70">
{{ row.event.type|default('Talk') }}
</small>
</td>
{% endif %}
<td class="pa2">
{% 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 %}
<small class="db black-70">
{{ row.event.location }}
</small>
{% endif %}
</td>
{% if not upcoming %}
<td class="ph2">
{% 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>