mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-15 02:15:50 +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 {
|
} else {
|
||||||
title.innerHTML = room_name;
|
title.innerHTML = room_name;
|
||||||
|
speaker.innerHTML = 'Break';
|
||||||
scheduledata.innerHTML = '';
|
scheduledata.innerHTML = '';
|
||||||
timeleft.innerHTML = '';
|
timeleft.innerHTML = '';
|
||||||
progressbar.style.width = '0';
|
progressbar.style.width = '0';
|
||||||
|
|
||||||
if (next_talk) {
|
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']) {
|
if (next_talk['track']) {
|
||||||
header.style.backgroundColor = next_talk['track']['color'];
|
header.style.backgroundColor = next_talk['track']['color'];
|
||||||
|
|
Loading…
Reference in a new issue