mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-01 01:05:50 +00:00
room-info: show "backstage" if no room name was supplied
This commit is contained in:
parent
de8065cf22
commit
16350548f5
1 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,14 @@ function update_room_info() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!room_name) {
|
||||||
|
$('#broadcast_tools_room_info_title').text(event_info['name']);
|
||||||
|
$('#broadcast_tools_room_info_speaker').text('Backstage');
|
||||||
|
$('#broadcast_tools_room_info_qr').text('');
|
||||||
|
$('#broadcast_tools_room_info').css('background-color', event_info['color']);
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (!schedule) {
|
if (!schedule) {
|
||||||
$('#broadcast_tools_room_info_speaker').text('Waiting for schedule ...')
|
$('#broadcast_tools_room_info_speaker').text('Waiting for schedule ...')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue