Skip to content

Commit

Permalink
Create agenda-day-details-online.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamroza authored Oct 26, 2024
1 parent d02579a commit 5628828
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions _includes/agenda-day-details-online.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
!-- Agenda ONLINE Section -->
{% comment %}
Expects following parameters: day
{% endcomment %}

<div class="agenda-day">
{% for session in include.day.sessions-online %}
<div class="agenda-session">
{% for event in session.events %}
<div class="{{ event.element-class }} agenda-item">
<div>
{{ event.time }}
{% if event.room %}
/ {{ event.room }}
{% endif %}

{% if event.url %}
<a href="{{ event.url | relative_url }}">
{% endif %}

<h4>{{ event.title }}</h4>
{% if event.subtitle %}
<h5>{{ event.subtitle }}</h5>
{% endif %}

{% if event.url %}
</a>
{% endif %}

{% if event.subevents %}
<ul>
{% for subevent in event.subevents %}
<li class="agenda-subitem">
{% if subevent.url %}
<a href="{{ subevent.url | relative_url }}">
{% endif %}
<h5>{{ subevent.title }}</h5>
<h6>{{ subevent.subtitle }}</h6>
{% if subevent.url %}
</a>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
</div>
</div>
{% endfor %}
</div>
{% endfor %}
</div>

0 comments on commit 5628828

Please sign in to comment.