From 25edb3f3379416d9ef4b81097ff9c2ab7f4e239b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 13 Oct 2026 10:14:55 +0200 Subject: [PATCH] feat: show group or contact name in the offer headline --- templates/groups/offer/view.html.twig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/groups/offer/view.html.twig b/templates/groups/offer/view.html.twig index ae01ea05..4493b70d 100644 --- a/templates/groups/offer/view.html.twig +++ b/templates/groups/offer/view.html.twig @@ -49,8 +49,9 @@ {% include '_partials/_flashes.html.twig' %}
+ {% set addressee = booking.groupName ?: [booking.firstName, booking.lastName] | filter(v => v) | join(' ') %}

- {{ booking.acceptedAt is not null ? 'Deine Buchung' : 'Dein Angebot' }} + {{ booking.acceptedAt is not null ? 'Deine Buchung' : 'Dein Angebot' }}{% if addressee %}, {{ addressee }}{% endif %}

{{ ctx.accommodation.name }}