{% extends 'layout.html.twig' %} {% block title %}Übersicht · ephub{% endblock %} {% block content %}

Übersicht

{{ today|format_datetime(pattern: 'EEEE, d. MMMM y') }}

{# One tile per ResourceType, generated rather than written out. A new bookable kind appears here -- with a working link and a correct count -- by adding a case to the enum. #}
{% for tile in tiles %}
{{ ux_icon(tile.type.icon, { class: 'h-6 w-6 shrink-0 text-primary' }) }} {{ tile.type.plural }}

{{ tile.type.description }}

{% if tile.total == 0 %} nichts eingerichtet {% elseif tile.free == 0 %} heute alles belegt {% else %} {{ tile.free }} von {{ tile.total }} heute frei {% endif %} {% if tile.mine %} {{ tile.mine.resource.label }} {% endif %}
{% endfor %}
{{ ux_icon('lucide:calendar-days', { class: 'h-6 w-6 shrink-0 text-primary' }) }} Meine Buchungen

Alle Termine und Serien verwalten.

Als Nächstes

{% if upcoming is empty %}

Nichts gebucht.

{% else %} {% endif %} {% endblock %}