🚚 add email templates to repo
This commit is contained in:
parent
ed5a4fe90d
commit
1bbefaf471
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,35 @@
|
|||
Hallo,
|
||||
|
||||
Du hast am {{booking.created.strftime("%d.%m.%Y")}} um {{booking.created.strftime("%X")}} Uhr eine Buchung für den Raum {{ calendar_name }} vorgenommen. Leider überschneidet sich {% if booking.is_recurring %}ein Termin Deiner Terminserie{% else %}Dein Termin{% endif %} mit {% if colliding_bookings|length > 1 %}mehreren Buchungen (siehe unten).{% else %}der Buchung "{{colliding_bookings[0].name}}", die {% if colliding_bookings[0].organizer|length %}von {% if colliding_bookings[0].organizer != booking.organizer %}<{{colliding_bookings[0].organizer}}>{% else %}dir selbst{% endif %}{% endif %}{% if booking.is_deprioritized %} mit höherer Priorität angelegt wurde.{% else %} bereits am {{colliding_bookings[0].created.strftime("%d.%m.%Y")}} um {{colliding_bookings[0].created.strftime("%X")}} Uhr vorgenommen wurde.{%endif%}{% endif %}
|
||||
|
||||
{% if alternatives %}_Alternative Räume_
|
||||
Folgende vergleichbare Räume sind zum Zeitpunkt Deiner Buchung noch verfügbar:{% for a in alternatives %}
|
||||
- {{ a.name }}{% endfor %}
|
||||
|
||||
Bitte buche einen anderen Raum, indem Du ihn zu Deinem bestehenden Termin einlädst.{% else %}Leider scheint für Deinen Termin auch kein vergleichbarer Raum vergügbar zu sein. Du kannst Deinen Termin verschieben und erneut versuchen, einen Raum zu buchen.{% endif %}
|
||||
|
||||
_Terminübersicht_{% for o in overview %}
|
||||
- {{ o.start.strftime("%d.%m.%Y") }} {% if o.start.strftime("%H:%M") != "00:00" %}{{ o.start.strftime("%H:%M") }} {% endif %}-{% if o.start.date() != o.end.date() %} {{ o.end.strftime("%d.%m.%Y") }}{% endif %} {% if o.start.strftime("%H:%M") != "00:00" and o.end.strftime("%H:%M") != "00:00" %}{{ o.end.strftime("%H:%M") }}{% endif %} | "{{ o.name }}" gebucht von <{{ o.organizer }}> | {% if o.is_collision %}Überschneidung{% elif o.is_prioritized %}Priorisierte Buchung{% elif o.is_declined %}Deine abgelehnte Buchung{% endif %}{% endfor %}
|
||||
|
||||
|
||||
Viele Grüße,
|
||||
Das Raumbuchungssystem
|
||||
|
||||
--------------------------------------
|
||||
English version
|
||||
|
||||
Hello,
|
||||
|
||||
On {{ booking.created.strftime("%-d %B %Y") }} at {{ booking.created.strftime("%-I:%M %p") }} you booked the room {{ calendar_name }}. Unfortunately, {% if booking.is_recurring %}one of your appointment series{% else %} your appointment{% endif %} collides with {% if colliding_bookings|length > 1 %}multiple bookings (see below).{% else %}the booking "{{ colliding_bookings[0].name }}"{% if colliding_bookings[0].organizer|length %}, made by {% if colliding_bookings[0].organizer != booking.organizer %}<{{ colliding_bookings[0].organizer }}>{% else %}yourself{% endif %}{% endif %} {% if booking.is_deprioritized %}with higher priority.{% else %}on {{ colliding_bookings[0].created.strftime("%-d %B %Y") }} at {{ colliding_bookings[0].created.strftime("%-I:%M %p") }}.{% endif %}{% endif %}
|
||||
|
||||
{% if alternatives %}_Alternative rooms_
|
||||
The following comparable rooms are still available at the time of your booking:{% for a in alternatives %}
|
||||
- {{ a.name }}{% endfor %}
|
||||
|
||||
Please book another room by inviting it to your existing appointment.{% else %}Unfortunately, there does not appear to be a comparable room available for your appointment. You can reschedule your appointment and try again to book a room.{% endif %}
|
||||
|
||||
_Appointment Overview_{% for o in overview %}
|
||||
- {{ o.start.strftime("%-d/%-m/%y") }} {% if o.start.strftime("%H:%M") != "00:00" %}{{ o.start.strftime("%-I:%M %p") }} {% endif %}-{% if o.start.date() != o.end.date() %} {{ o.end.strftime("%-d/%-m/%y") }}{% endif %} {% if o.start.strftime("%H:%M") != "00:00" and o.end.strftime("%H:%M") != "00:00" %}{{ o.end.strftime("%-I:%M %p") }}{% endif %} | "{{ o.name }}" booked by <{{ o.organizer }}> | {% if o.is_collision %}Collision{% elif o.is_prioritized %}Priority booking{% elif o.is_declined %}Your declined booking{% endif %}{% endfor %}
|
||||
|
||||
Best regards,
|
||||
The room booking system
|
||||
Loading…
Reference in New Issue