From 3235a91ff5540ccf947b48a37035911dae573b63 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Thu, 10 Oct 2024 16:59:37 +0200 Subject: [PATCH] room_info: colour screen according to next talk if enabled --- .../static/pretalx_broadcast_tools/room_info.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pretalx_broadcast_tools/static/pretalx_broadcast_tools/room_info.js b/pretalx_broadcast_tools/static/pretalx_broadcast_tools/room_info.js index 6ca92b5..486d658 100644 --- a/pretalx_broadcast_tools/static/pretalx_broadcast_tools/room_info.js +++ b/pretalx_broadcast_tools/static/pretalx_broadcast_tools/room_info.js @@ -72,6 +72,8 @@ function update_room_info() { if (current_talk && current_talk['track']) { box.style.backgroundColor = current_talk['track']['color']; + } else if (next_talk && next_talk['track'] && event_info['room-info']['show_next_talk']) { + box.style.backgroundColor = next_talk['track']['color']; } else { box.style.backgroundColor = event_info['color']; }