144 lines
6.9 KiB
HTML
144 lines
6.9 KiB
HTML
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
{% load static %}
|
|
{% load textfilters %}
|
|
{% origin %}
|
|
{% with item=session.official_timeslotassignment acronym=session.historic_group.acronym %}
|
|
{% include "meeting/session_agenda_include.html" with slug=item.slug session=session timeslot=item.timeslot only %}
|
|
<div role="group" class="btn-group btn-group-sm">
|
|
{% if session.agenda and show_agenda %}
|
|
{# Note: if called with show_agenda=True, calling template must load agenda_materials.js, needed by session_agenda_include.html #}
|
|
{# agenda pop-up button #}
|
|
<a class="btn btn-outline-primary"
|
|
data-bs-toggle="modal"
|
|
data-bs-target="#modal-{{ item.slug }}"
|
|
title="Show meeting materials">
|
|
<i class="bi bi-arrows-fullscreen"></i>
|
|
</a>
|
|
{# materials tar file #}
|
|
<a class="btn btn-outline-primary"
|
|
href="/meeting/{{ meeting.number }}/agenda/{{ acronym }}-drafts.tgz"
|
|
title="Download meeting materials as .tar archive">
|
|
<i class="bi bi-file-zip"></i>
|
|
</a>
|
|
{# materials PDF file #}
|
|
<a class="btn btn-outline-primary"
|
|
href="/meeting/{{ meeting.number }}/agenda/{{ acronym }}-drafts.pdf"
|
|
title="Download meeting materials as PDF file">
|
|
<i class="bi bi-file-pdf"></i>
|
|
</a>
|
|
{% endif %}
|
|
{# etherpad #}
|
|
{% if use_codimd %}
|
|
<a class="btn btn-outline-primary"
|
|
href="{{ session.notes_url }}"
|
|
title="Notepad for note-takers">
|
|
<i class="bi bi-journal-text"></i>
|
|
</a>
|
|
{% endif %}
|
|
{# show stream buttons up till end of session, then show archive buttons #}
|
|
{% if now < item.timeslot.end_time %}
|
|
{# Jabber #}
|
|
<a class="btn btn-outline-primary"
|
|
href="xmpp:{{ session.jabber_room_name }}@jabber.ietf.org?join"
|
|
title="Jabber room for {{ session.jabber_room_name }}">
|
|
<i class="bi bi-lightbulb"></i>
|
|
</a>
|
|
{# Remote call-in #}
|
|
{% if session.agenda_note|first_url|conference_url %}
|
|
<a class="btn btn-outline-primary"
|
|
href="{{ session.agenda_note|first_url }}"
|
|
title="Online conference">
|
|
<i class="bi bi-people"></i>
|
|
</a>
|
|
{% elif session.remote_instructions|first_url|conference_url %}
|
|
<a class="btn btn-outline-primary"
|
|
href="{{ session.remote_instructions|first_url }}"
|
|
title="Online conference">
|
|
<i class="bi bi-people"></i>
|
|
</a>
|
|
{% elif item.timeslot.location.webex_url %}
|
|
<a class="btn btn-outline-primary"
|
|
href="{{ item.timeslot.location.webex_url|format:session }}"
|
|
title="Webex session">
|
|
<i class="bi bi-people"></i>
|
|
</a>
|
|
{# Video stream (meetecho) #}
|
|
{% elif item.timeslot.location.video_stream_url %}
|
|
<a class="btn btn-outline-primary"
|
|
href="{{ item.timeslot.location.video_stream_url|format:session }}"
|
|
title="Meetecho video stream">
|
|
<i class="bi bi-camera-video"></i>
|
|
</a>
|
|
{% else %}
|
|
<a class="btn btn-outline-primary text-secondary disabled"
|
|
href="#"
|
|
title="No online conference info found in remote instructions or agenda note">
|
|
<i class="bi bi-people"></i>
|
|
</a>
|
|
{% endif %}
|
|
{# iCalendar item #}
|
|
<a class="btn btn-outline-primary"
|
|
href="{% url 'ietf.meeting.views.agenda_ical' num=meeting.number session_id=session.id %}"
|
|
title="icalendar entry for {{ acronym }} session on {{ item.timeslot.utc_start_time|date:'Y-m-d H:i' }} UTC">
|
|
<i class="bi bi-calendar"></i>
|
|
</a>
|
|
{% else %}
|
|
{# Jabber #}
|
|
<a class="btn btn-outline-primary"
|
|
href="https://www.ietf.org/jabber/logs/{{ session.jabber_room_name }}?C=M;O=D"
|
|
title="Jabber logs for {{ session.jabber_room_name }}">
|
|
<i class="bi bi-file-text"></i>
|
|
</a>
|
|
{% with session.recordings as recordings %}
|
|
{% if recordings %}
|
|
{# There's no guaranteed order, so this is a bit messy: #}
|
|
{# Audio #}
|
|
{% for r in recordings %}
|
|
{% with href=r.get_href %}
|
|
{% if 'audio' in href %}
|
|
<a class="btn btn-outline-primary"
|
|
href="{{ href }}"
|
|
title="{{ r.title }}">
|
|
<i class="bi bi-file-play"></i>
|
|
</a>
|
|
{% endif %}
|
|
{% endwith %}
|
|
{% endfor %}
|
|
{# YouTube #}
|
|
{% for r in recordings %}
|
|
{% with href=r.get_href %}
|
|
{% if 'youtu' in href %}
|
|
<a class="btn btn-outline-primary"
|
|
href="{{ href }}"
|
|
title="{{ r.title }}">
|
|
<i class="bi bi-file-slides"></i>
|
|
</a>
|
|
{% endif %}
|
|
{% endwith %}
|
|
{% endfor %}
|
|
{# Any other recordings #}
|
|
{% for r in recordings %}
|
|
{% with href=r.get_href %}
|
|
{% if not 'audio' in href and not 'youtu' in href %}
|
|
<a class="btn btn-outline-primary"
|
|
href="{{ href }}"
|
|
title="{{ r.title }}">
|
|
<i class="bi bi-file-play"></i>
|
|
</a>
|
|
{% endif %}
|
|
{% endwith %}
|
|
{% endfor %}
|
|
{% elif item.timeslot.location.video_stream_url %}
|
|
<a class="btn btn-outline-primary"
|
|
href="http://www.meetecho.com/ietf{{ meeting.number }}/recordings#{{ acronym.upper }}"
|
|
title="Meetecho session recording">
|
|
<i class="bi bi-file-slides"></i>
|
|
</a>
|
|
{% elif show_empty %}
|
|
{# <i class="bi"></i> #}
|
|
{% endif %}
|
|
{% endwith %}
|
|
{% endif %}
|
|
</div>
|
|
{% endwith %} |