Rename _includes to _partials
This commit is contained in:
parent
c6aaf21722
commit
11d37468a8
27 changed files with 0 additions and 0 deletions
59
source/_partials/talks-table-row.html.twig
Normal file
59
source/_partials/talks-table-row.html.twig
Normal 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.joindin and row.event.date <= today %}
|
||||
<a href="{{ row.event.joindin }}"
|
||||
class="button"
|
||||
title="Read or leave feedback for this talk">
|
||||
<i class="fa fa-comment-o"></i> joind.in
|
||||
</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
Loading…
Add table
Add a link
Reference in a new issue