feat: adopt ep-design 1.3.0 in admin

This commit is contained in:
fromme committed 2026-11-13 12:42:00 +01:00
1 parent df564c30ae
commit e517163c9a
19 files changed
+127 -140

No files matched your search

@@ -46,7 +46,7 @@
Vorausteam, werden mit eigenen Positionen berechnet; Personen und Leistungen gelten
nur für den Zeitraum der Gruppe.
</p>
<table class="w-full text-sm">
<table class="w-full">
{% if booking.leadingPeriod %}
{% include 'admin/accommodation_booking/_period_row.html.twig' with { period: booking.leadingPeriod } %}
{% endif %}
@@ -57,18 +57,18 @@
<td class="py-1 text-right">
{# One period per side, so only the free sides are offered. #}
{% if booking.leadingPeriod is null or booking.trailingPeriod is null %}
<twig:dropdown>
<twig:menu>
{% if booking.leadingPeriod is null %}
<twig:dropdown:hxbutton url="{{ path('app_admin_accommodationbooking_period_split', back_params | merge({ position: 'leading' })) }}">
<button type="button" class="menu-item" role="menuitem" hx-get="{{ path('app_admin_accommodationbooking_period_split', back_params | merge({ position: 'leading' })) }}" hx-target="body" hx-swap="beforeend">
am Anfang abteilen
</twig:dropdown:hxbutton>
</button>
{% endif %}
{% if booking.trailingPeriod is null %}
<twig:dropdown:hxbutton url="{{ path('app_admin_accommodationbooking_period_split', back_params | merge({ position: 'trailing' })) }}">
<button type="button" class="menu-item" role="menuitem" hx-get="{{ path('app_admin_accommodationbooking_period_split', back_params | merge({ position: 'trailing' })) }}" hx-target="body" hx-swap="beforeend">
am Ende abteilen
</twig:dropdown:hxbutton>
</button>
{% endif %}
</twig:dropdown>
</twig:menu>
{% endif %}
</td>
</tr>
@@ -148,7 +148,7 @@
<twig:form:section title="Status">
{# Read-only: the status only ever moves through a named action on the detail page,
so that it cannot be set without the email and timestamp that belong to it. #}
<dl class="grid grid-cols-2 gap-y-1 text-sm">
<dl class="grid grid-cols-2 gap-y-1">
<dt class="text-muted">Status</dt>
<dd>{% include 'admin/accommodation_booking/_status_label.html.twig' %}</dd>
<dt class="text-muted">Herkunft</dt>