{{ booking.accommodation.name }}
{# Only an Entwurf may still move house — see ChangeAccommodationController. #}
{% if booking.draft %}
@@ -15,7 +15,7 @@
hx-get="{{ path('app_admin_accommodationbooking_change_accommodation', back_params) }}"
hx-target="body"
hx-swap="beforeend"
- class="button button--secondary button--small">ändern
+ class="btn-tool">ändern
{% endif %}
@@ -39,9 +39,9 @@
{# Saved by their own modals, which reprice the booking on the spot — see SplitPeriodController. #}
-
+
Zeiträume
-
+
Anreise und Abreise umfassen den ganzen Aufenthalt. Abgeteilte Zeiträume, etwa für ein
Vorausteam, werden mit eigenen Positionen berechnet; Personen und Leistungen gelten
nur für den Zeitraum der Gruppe.
@@ -50,7 +50,7 @@
{% if booking.leadingPeriod %}
{% include 'admin/accommodation_booking/_period_row.html.twig' with { period: booking.leadingPeriod } %}
{% endif %}
-
@@ -94,7 +94,7 @@
{% for child in form.selectedAdditionalServices %}
-
@@ -149,16 +149,16 @@
{# 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. #}
-
Status
+
Status
{% include 'admin/accommodation_booking/_status_label.html.twig' %}
-
Herkunft
+
Herkunft
{{ booking.origin.label }}
{% if booking.acceptedAt is not null %}
-
Angenommen
+
Angenommen
{{ booking.acceptedAt | date('d.m.Y, H:i') }}
{% endif %}
{% if booking.confirmedAt is not null %}
-
Bestätigt
+
Bestätigt
{{ booking.confirmedAt | date('d.m.Y, H:i') }}
{% endif %}
@@ -173,17 +173,17 @@
{% set currency = booking.pricingCurrency ?? priceBreakdown.currency %}
{% include 'admin/accommodation_booking/_price_breakdown.html.twig' %}
-
+
Stand der letzten Speicherung. Änderungen oben werden erst beim Speichern neu berechnet.
Die Nächte werden vom Zeitraum der Gruppe abgezogen, der neu berechnet wird. Die Positionen
kommen zum Gesamtpreis hinzu und fallen nur unter den Rabatt auf den Gesamtpreis.
{# Same arrangement as the edit form: what was booked in the main column, status, the next
step and the actions in a sidebar that stays in view on wide screens. #}
@@ -102,50 +102,50 @@
@@ -21,22 +22,20 @@
{{ form_end(form) }}
{% if failed %}
- {% include '_partials/_alert.html.twig' with {
- level: 'warning',
- messages: ['Die Teilnehmerliste konnte nicht von BusPro abgerufen werden. Bitte später erneut versuchen.'],
+ {% include 'admin/_partials/_alert.html.twig' with {
+ type: 'error',
+ message: 'Die Teilnehmerliste konnte nicht von BusPro abgerufen werden. Bitte später erneut versuchen.',
} %}
{% elseif result is not null %}
{% if result.data is empty %}
- {% include '_partials/_alert.html.twig' with {
- level: 'warning',
- messages: ['Keine Empfänger für %s gefunden: Reisecode unbekannt oder keine bestätigten Teilnehmer%s.'|format(result.travelCode|e, result.busLeg ? ' unter den ' ~ result.busLeg.label : '')],
- } %}
+ {% set message %}Keine Empfänger für {{ result.travelCode }} gefunden: Reisecode unbekannt oder keine bestätigten Teilnehmer{{ result.busLeg ? ' unter den ' ~ result.busLeg.label }}.{% endset %}
+ {% include 'admin/_partials/_alert.html.twig' with {type: 'warning', message: message} %}
{% else %}
-
+
{{ travel_label|default('Reise nicht im lokalen Reisebestand') }}
-
+
{{ result.data|length }} Empfänger für {{ result.travelCode }}{% if result.busLeg %}, nur {{ result.busLeg.label }}{% endif %}
@@ -52,7 +51,7 @@
{% if mailing_list is not null %}
{# the list for this filter exists and is listed above #}
{% elseif travel_starts_at is null %}
-
+
Kein Reisebeginn bekannt, daher kann keine Mailjet-Liste angelegt werden.
{% else %}
@@ -62,10 +61,10 @@
{% endif %}
-
+
Mailjet-Liste {{ list_name }} anlegen
-
+
Alle Empfänger werden ohne Opt-in eingetragen; die Liste wird 30 Tage nach Reisebeginn
({{ travel_starts_at|date('d.m.Y') }}) gelöscht.
diff --git a/templates/admin/user/modal_permissions.html.twig b/templates/admin/user/modal_permissions.html.twig
index f7330e01..e8a9287d 100644
--- a/templates/admin/user/modal_permissions.html.twig
+++ b/templates/admin/user/modal_permissions.html.twig
@@ -5,12 +5,12 @@
{% endblock %}
{% block content %}
-