From e2a786b64b4700f2c4054a0e33b6c8f7d134d2be Mon Sep 17 00:00:00 2001 From: Marcus Fihlon Date: Sat, 30 Mar 2024 18:57:41 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20add=20"closed=20room"=20to=20leg?= =?UTF-8?q?end?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/swiss/fihlon/apus/ui/view/ConferenceView.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/swiss/fihlon/apus/ui/view/ConferenceView.java b/src/main/java/swiss/fihlon/apus/ui/view/ConferenceView.java index 85b0b51..be936c8 100644 --- a/src/main/java/swiss/fihlon/apus/ui/view/ConferenceView.java +++ b/src/main/java/swiss/fihlon/apus/ui/view/ConferenceView.java @@ -91,7 +91,11 @@ private static Component createLegend() { nextSession.getElement().getThemeList().add(LABEL_THEME); nextSession.addClassName("next-session"); - final Component legend = new Span(runningSession, nextSession); + final Component emptySession = new Span("room closed"); + emptySession.getElement().getThemeList().add(LABEL_THEME); + emptySession.addClassName("empty-session"); + + final Component legend = new Span(runningSession, nextSession, emptySession); legend.addClassName("legend"); return legend; }