mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2025-04-29 08:20:58 +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
|
@ -22,6 +22,12 @@ body {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
#broadcast_tools_room_info_roomname {
|
||||
font-size: 2em;
|
||||
margin-bottom: 0.5em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#broadcast_tools_room_info_title {
|
||||
font-size: 6em;
|
||||
margin-bottom: 0.2em;
|
||||
|
|
|
@ -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