From b1fe2fcd26be7483f38d8652cf15069aa184a4cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 29 Oct 2026 12:58:58 +0100 Subject: [PATCH] feat: make room names on the floor plan more prominent --- templates/board/_floorplan.html.twig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/board/_floorplan.html.twig b/templates/board/_floorplan.html.twig index 0c962fb..b49f371 100644 --- a/templates/board/_floorplan.html.twig +++ b/templates/board/_floorplan.html.twig @@ -40,10 +40,12 @@
{% if spot_group.group %} {% set free = spot_group.freeCount %} -

+ {# Prominent on purpose: desk labels repeat from room to room, so the room is + the only thing telling one "Schreibtisch 1" from the next. #} +

{{- spot_group.group.label -}} - {%- if free > 0 %} · {{ free }} frei - {%- else %} · belegt{% endif -%} + {%- if free > 0 %} · {{ free }} frei + {%- else %} · belegt{% endif -%}

{% endif %}