mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-12-11 21:02:43 +00:00
room_timer: show we're on break
This commit is contained in:
parent
cb09f7c65a
commit
07090626e9
1 changed files with 2 additions and 1 deletions
|
@ -70,12 +70,13 @@ function update_room_info() {
|
|||
}
|
||||
} else {
|
||||
title.innerHTML = room_name;
|
||||
speaker.innerHTML = 'Break';
|
||||
scheduledata.innerHTML = '';
|
||||
timeleft.innerHTML = '';
|
||||
progressbar.style.width = '0';
|
||||
|
||||
if (next_talk) {
|
||||
speaker.innerHTML = format_time_from_pretalx(next_talk['start']) + ' ' + next_talk['title'];
|
||||
scheduledata.innerHTML = format_time_from_pretalx(next_talk['start']) + ' ' + next_talk['title'];
|
||||
|
||||
if (next_talk['track']) {
|
||||
header.style.backgroundColor = next_talk['track']['color'];
|
||||
|
|
Loading…
Reference in a new issue