rf-web/_includes/program/program-item.html

32 lines
1.1 KiB
HTML
Raw Normal View History

{% assign event = include.common/program/full-program.html %}
{% assign time = event.date | date: "%H:%M" %}
{% assign endTime = event.endDate | date: "%H:%M" %}
{% if time and time != '00:00' %}
<p class="event-time textbox inline-block">
{{time}}
{% if endTime %}
→ {{ endTime }}
{% endif %}
</p>
{% endif %}
<li class="margin-32-bottom flex flex-justify-space-between flex-align-center textbox event">
<span class="flex-5 margin-0 text-lg">
<a href="/rf2020/events/{{ event.ref }}.html" class="margin-0">{{ event.title_ }}</a>
{% if event.format %}
<small class="prog-item--format sup flex-1 margin-0">[{{ event.format }}]</small>
{% endif %}
</span>
<span class="hide-mobile text-right flex-2 margin-0">
2020-08-17 07:48:14 +00:00
{% for eventParticipantId in event.participants %}
{% for participant in site.data.rf2020.participants %}
{% if participant.id == eventParticipantId %}
<a href="/rf2020/participants/{{ participant.ref }}.html" class="margin-0 with-url-arrow block">{{ participant.fullname }}</a>
2020-08-17 07:48:14 +00:00
{% endif %}
{% endfor %}
{% endfor %}
2020-08-17 07:48:14 +00:00
</span>
</li>