From 07090626e95800a99589196ed6fde004863c9452 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 3 Nov 2024 14:49:00 +0100 Subject: [PATCH] room_timer: show we're on break --- .../static/pretalx_broadcast_tools/room_timer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pretalx_broadcast_tools/static/pretalx_broadcast_tools/room_timer.js b/pretalx_broadcast_tools/static/pretalx_broadcast_tools/room_timer.js index 7459ee4..168e3a6 100644 --- a/pretalx_broadcast_tools/static/pretalx_broadcast_tools/room_timer.js +++ b/pretalx_broadcast_tools/static/pretalx_broadcast_tools/room_timer.js @@ -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'];