mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-12-22 14:19:11 +00:00
show room name and event name if there are no talks scheduled
This commit is contained in:
parent
c1604efb08
commit
c9b01acb6e
2 changed files with 3 additions and 3 deletions
|
@ -45,8 +45,8 @@ function update_room_info() {
|
|||
$('#broadcast_tools_room_info_speaker').text(current_talk['persons'].join(', '));
|
||||
$('#broadcast_tools_room_info_qr').html('<img src="' + current_talk['urls']['feedback_qr'] + '" alt="Feedback QR Code"><p>Leave Feedback by scanning the code or visiting ' + current_talk['urls']['feedback'] + '</p>');
|
||||
} else {
|
||||
$('#broadcast_tools_room_info_title').text(event_info['no_talk']);
|
||||
$('#broadcast_tools_room_info_speaker').text('');
|
||||
$('#broadcast_tools_room_info_title').text(event_info['name']);
|
||||
$('#broadcast_tools_room_info_speaker').text(room_name);
|
||||
$('#broadcast_tools_room_info_qr').text('');
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<head>
|
||||
<meta http-equiv="content-type" content="text/html" charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<title>{{ request.event.name }} lower thirds</title>
|
||||
<title>{{ request.event.name }} room info</title>
|
||||
{% compress js %}
|
||||
<script src="{% static "vendored/jquery-3.1.1.js" %}"></script>
|
||||
{% endcompress %}
|
||||
|
|
Loading…
Reference in a new issue