Compare commits

..
2 Commits
Author SHA1 Message Date
fromme b1fe2fcd26 feat: make room names on the floor plan more prominent 2026-10-29 12:59:50 +01:00
Admin 0ab39d810b feat: add a booking event history for admins 2026-10-29 12:59:36 +01:00
+5 -3
View File
@@ -40,10 +40,12 @@
<section>
{% if spot_group.group %}
{% set free = spot_group.freeCount %}
<h3 class="!mb-0 pb-2 text-sm font-semibold text-gray-500 md:text-sm">
{# Prominent on purpose: desk labels repeat from room to room, so the room is
the only thing telling one "Schreibtisch 1" from the next. #}
<h3 class="!mb-0 pb-2 text-base font-semibold text-gray-900 md:text-lg">
{{- spot_group.group.label -}}
{%- if free > 0 %} <span class="text-emerald-600">· {{ free }} frei</span>
{%- else %} <span>· belegt</span>{% endif -%}
{%- if free > 0 %} <span class="text-sm font-normal text-emerald-600">· {{ free }} frei</span>
{%- else %} <span class="text-sm font-normal text-gray-500">· belegt</span>{% endif -%}
</h3>
{% endif %}