Skip to content

Commit

Permalink
room_timer: show we're on break
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Nov 3, 2024
1 parent cb09f7c commit 0709062
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 0709062

Please sign in to comment.