1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-14 17:45:49 +00:00

room_timer: show we're on break

This commit is contained in:
Franzi 2024-11-03 14:49:00 +01:00
parent cb09f7c65a
commit 07090626e9
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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'];