rf-web/_includes/program/program-item.html
2020-09-08 16:46:22 +02:00

26 lines
993 B
HTML

{% assign event = include.common/program/full-program.html %}
{% assign time = event.date | date: "%H:%M" %}
<li class="margin-16-bottom flex flex-justify-space-between flex-align-center textbox event">
{% if time != '00:00' %}
<span class="event-time">{{time}}</span>
{% endif %}
<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">
{% 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">{{ participant.fullname }}</a>
{% endif %}
{% endfor %}
{% endfor %}
</span>
</li>