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

60 lines
1.6 KiB
Twig
Raw Normal View History

2018-05-09 22:24:08 +00:00
<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>
2018-05-10 06:07:59 +00:00
{% if row.event.joindin and row.event.date <= today %}
<a href="{{ row.event.joindin }}"
2018-05-09 22:24:08 +00:00
class="button"
title="Read or leave feedback for this talk">
<i class="fa fa-comment-o"></i> joind.in
</a>
{% endif %}
</td>
{% endif %}
</tr>