Add link to onsite tool to agenda. Fixes #3550. Commit ready for merge.
- Legacy-Id: 19947
This commit is contained in:
parent
1070ea6f08
commit
bc8155f197
|
@ -487,6 +487,9 @@ class Room(models.Model):
|
|||
def video_stream_url(self):
|
||||
urlresources = [ur for ur in self.urlresource_set.all() if ur.name_id in ['meetecho']]
|
||||
return urlresources[0].url if urlresources else None
|
||||
def onsite_tool_url(self):
|
||||
urlresources = [ur for ur in self.urlresource_set.all() if ur.name_id in ['meetecho_onsite']]
|
||||
return urlresources[0].url if urlresources else None
|
||||
def webex_url(self):
|
||||
urlresources = [ur for ur in self.urlresource_set.all() if ur.name_id in ['webex']]
|
||||
return urlresources[0].url if urlresources else None
|
||||
|
|
|
@ -38,6 +38,13 @@
|
|||
title="Video stream"><span class="fa fa-fw fa-video-camera"></span>
|
||||
</a>
|
||||
{% endif %}
|
||||
<!-- Onsite tool (meetecho_onsite) -->
|
||||
{% if timeslot.location.onsite_tool_url %}
|
||||
<a class=""
|
||||
href="{{timeslot.location.onsite_tool_url|format:session }}"
|
||||
title="Onsite tool"><span class="fa fa-fw fa-street-view"></span>
|
||||
</a>
|
||||
{% endif %}
|
||||
<!-- Audio stream -->
|
||||
{% if timeslot.location.audio_stream_url %}
|
||||
<a class=""
|
||||
|
|
Loading…
Reference in a new issue