fix: allow booking the free part of a partly booked day

This commit is contained in:
fromme committed 2026-09-13 19:11:51 +02:00
1 parent a88ff7ff24
commit 78839838f0
15 files changed
+541 -60

No files matched your search

+12 -13
View File
@@ -7,23 +7,22 @@
<div class="w-full max-w-md text-center">
<img class="h-8 w-auto mx-auto mb-8" src="{{ asset('images/logo_ep.svg') }}" alt="ephub">
<h1>Anmelden</h1>
<p class="subline pb-8">Schreibtische und Parkplätze buchen.</p>
<h1>
Login E&P Hub
</h1>
<p class="subline pb-8">
Schreibtische und Parkplätze buchen.
</p>
{% if oauth2_configured %}
<a class="button button--primary w-full" href="{{ path('app_auth_init') }}">
Mit myep anmelden
</a>
{% else %}
<div class="rounded-md border border-amber-300 bg-amber-50 px-4 py-3 text-sm text-left">
<strong>Anmeldung noch nicht eingerichtet.</strong>
Für ephub muss auf myep erst ein OAuth2-Client registriert werden.
</div>
{% endif %}
<a class="button button--primary w-full" href="{{ path('app_auth_init') }}">
Mit myep anmelden
</a>
{% if app.environment == 'dev' %}
<p class="pt-6 text-sm">
<a class="underline text-gray-500" href="{{ path('app_dev_login') }}">Entwickler-Login</a>
<a class="underline text-gray-500" href="{{ path('app_dev_login') }}">
Entwickler-Login
</a>
</p>
{% endif %}