1
0
Fork 0
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:
Franzi 2023-02-28 19:11:10 +01:00
parent bb55df2723
commit 737a72f296
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 12 additions and 3 deletions

View file

@ -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('');
}