mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2025-07-04 14:08:30 +00:00
add room name to room info page
This commit is contained in:
parent
bb55df2723
commit
737a72f296
3 changed files with 12 additions and 3 deletions
|
@ -20,6 +20,8 @@ function update_room_info() {
|
|||
return
|
||||
}
|
||||
|
||||
$('#broadcast_tools_room_info_roomname').text(room_name);
|
||||
|
||||
if (!schedule) {
|
||||
$('#broadcast_tools_room_info_speaker').text('Waiting for schedule ...')
|
||||
return
|
||||
|
@ -52,7 +54,7 @@ function update_room_info() {
|
|||
$('#broadcast_tools_room_info_qr').html(qr_info);
|
||||
} else {
|
||||
$('#broadcast_tools_room_info_title').text(event_info['name']);
|
||||
$('#broadcast_tools_room_info_speaker').text(room_name);
|
||||
$('#broadcast_tools_room_info_speaker').text('');
|
||||
$('#broadcast_tools_room_info_qr').text('');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue