feat: make room names on the floor plan more prominent
This commit is contained in:
1 parent
0ab39d810b
commit
b1fe2fcd26
1 file changed
+5
-3
@@ -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 %}
|
||||
|
||||
|
||||
Reference in new issue
Block a user