diff --git a/src/main/java/de/kreth/vaadin/clubhelper/vaadinclubhelper/ui/components/HeadComponent.java b/src/main/java/de/kreth/vaadin/clubhelper/vaadinclubhelper/ui/components/HeadComponent.java index 21a232e..6282341 100644 --- a/src/main/java/de/kreth/vaadin/clubhelper/vaadinclubhelper/ui/components/HeadComponent.java +++ b/src/main/java/de/kreth/vaadin/clubhelper/vaadinclubhelper/ui/components/HeadComponent.java @@ -135,6 +135,9 @@ public class HeadComponent extends HorizontalLayout { values.put(day, content); } content.append(ev.getCaption()); + if (ev.getLocation() != null && ev.getLocation().isBlank() == false) { + content.append(" (").append(ev.getLocation()).append(")"); + } }); }