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>
|
<section>
|
||||||
{% if spot_group.group %}
|
{% if spot_group.group %}
|
||||||
{% set free = spot_group.freeCount %}
|
{% 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 -}}
|
{{- spot_group.group.label -}}
|
||||||
{%- if free > 0 %} <span class="text-emerald-600">· {{ free }} frei</span>
|
{%- if free > 0 %} <span class="text-sm font-normal text-emerald-600">· {{ free }} frei</span>
|
||||||
{%- else %} <span>· belegt</span>{% endif -%}
|
{%- else %} <span class="text-sm font-normal text-gray-500">· belegt</span>{% endif -%}
|
||||||
</h3>
|
</h3>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user