Files
ephub/templates/email/booking_created.txt.twig
T

15 lines
557 B
Twig

{#
Plain text on purpose: a notification is three facts and a name, and a text part renders the
same everywhere without a stylesheet anybody has to maintain.
#}
{% set resource = booking.resource -%}
{{ resource.type.label }} {{ resource.label }} wurde gebucht.
Datum: {{ booking.date|format_datetime(pattern: 'EEEE, d. MMMM y') }}
Zeit: {{ booking.timeRange }}
{% if resource.group %}{{ resource.type.groupLabel }}:{{ ' ' }}{{ resource.group.label }}
{% endif %}Gebucht von: {{ booking.user.name }} ({{ booking.user.email }})
--
E&P Platz