fix: Move Meetecho buttons to separate button group (#4295)
Fixes #4288
This commit is contained in:
parent
cdb4769a73
commit
73931c2ed7
|
@ -13,6 +13,33 @@
|
||||||
{# Note: if called with show_agenda=True, calling template must load agenda_materials.js, needed by session_agenda_include.html #}
|
{# Note: if called with show_agenda=True, calling template must load agenda_materials.js, needed by session_agenda_include.html #}
|
||||||
{% include "meeting/session_agenda_include.html" with slug=slug session=session timeslot=timeslot only %}
|
{% include "meeting/session_agenda_include.html" with slug=slug session=session timeslot=timeslot only %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<div class="d-flex">
|
||||||
|
{% if timeslot.location.video_stream_url or timeslot.location.onsite_tool_url %}
|
||||||
|
<div id="session-meetecho-buttons-{{ session.pk }}"
|
||||||
|
role="group"
|
||||||
|
class="btn-group btn-group-sm d-none d-lg-flex me-1">
|
||||||
|
{# Video stream (meetecho) #}
|
||||||
|
{% if timeslot.location.video_stream_url %}
|
||||||
|
<a class="btn btn-outline-primary"
|
||||||
|
role="button"
|
||||||
|
href="{{ timeslot.location.video_stream_url|format:session }}"
|
||||||
|
aria-label="Full Client with Video"
|
||||||
|
title="Full Client with Video">
|
||||||
|
<i class="bi bi-camera-video"></i>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
{# Onsite tool (meetecho_onsite) #}
|
||||||
|
{% if timeslot.location.onsite_tool_url %}
|
||||||
|
<a class="btn btn-outline-primary"
|
||||||
|
role="button"
|
||||||
|
href="{{ timeslot.location.onsite_tool_url|format:session }}"
|
||||||
|
aria-label="Onsite tool"
|
||||||
|
title="Onsite tool">
|
||||||
|
<i class="bi bi-phone"></i>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
<div id="session-buttons-{{ session.pk }}"
|
<div id="session-buttons-{{ session.pk }}"
|
||||||
role="group"
|
role="group"
|
||||||
class="btn-group btn-group-sm d-none d-lg-flex">
|
class="btn-group btn-group-sm d-none d-lg-flex">
|
||||||
|
@ -63,26 +90,6 @@
|
||||||
title="Chat room for {{ session.chat_room_name }}">
|
title="Chat room for {{ session.chat_room_name }}">
|
||||||
<i class="bi bi-chat"></i>
|
<i class="bi bi-chat"></i>
|
||||||
</a>
|
</a>
|
||||||
{# Video stream (meetecho) #}
|
|
||||||
{% if timeslot.location.video_stream_url %}
|
|
||||||
<a class="btn btn-outline-primary"
|
|
||||||
role="button"
|
|
||||||
href="{{ timeslot.location.video_stream_url|format:session }}"
|
|
||||||
aria-label="Full Client with Video"
|
|
||||||
title="Full Client with Video">
|
|
||||||
<i class="bi bi-camera-video"></i>
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
|
||||||
{# Onsite tool (meetecho_onsite) #}
|
|
||||||
{% if timeslot.location.onsite_tool_url %}
|
|
||||||
<a class="btn btn-outline-primary"
|
|
||||||
role="button"
|
|
||||||
href="{{ timeslot.location.onsite_tool_url|format:session }}"
|
|
||||||
aria-label="Onsite tool"
|
|
||||||
title="Onsite tool">
|
|
||||||
<i class="bi bi-phone"></i>
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
|
||||||
{# Audio stream #}
|
{# Audio stream #}
|
||||||
{% if timeslot.location.audio_stream_url %}
|
{% if timeslot.location.audio_stream_url %}
|
||||||
<a class="btn btn-outline-primary"
|
<a class="btn btn-outline-primary"
|
||||||
|
@ -364,6 +371,7 @@
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
Loading…
Reference in a new issue