feat: show group or contact name in the offer headline
This commit is contained in:
1 parent
fe40e1807e
commit
25edb3f337
1 file changed
+2
-1
@@ -49,8 +49,9 @@
|
||||
{% include '_partials/_flashes.html.twig' %}
|
||||
|
||||
<hgroup>
|
||||
{% set addressee = booking.groupName ?: [booking.firstName, booking.lastName] | filter(v => v) | join(' ') %}
|
||||
<h1 class="text-2xl lg:text-4xl font-bold mb-2">
|
||||
{{ booking.acceptedAt is not null ? 'Deine Buchung' : 'Dein Angebot' }}
|
||||
{{ booking.acceptedAt is not null ? 'Deine Buchung' : 'Dein Angebot' }}{% if addressee %}, {{ addressee }}{% endif %}
|
||||
</h1>
|
||||
<p class="text-2xl">
|
||||
{{ ctx.accommodation.name }}
|
||||
|
||||
Reference in new issue
Block a user