Improved mail subjects. Added output of event description in mail.

This commit is contained in:
Markus Birth 2017-02-08 18:10:42 +01:00
parent 10cda5da45
commit 8b41b0c106
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
From: Fake Reservation System <{{user.email}}>
Subject: [FRS] {{form_type_uc}} Reservation
Subject: [FRS] {{reservationFor_name.value}} - {{reservationFor_startDate.value_human}} - {{form_type_uc}} Reservation
Date: {{email_date}}
X-Mailer: FRS/1.0
MIME-Version: 1.0
@ -30,6 +30,7 @@ Content-Type: text/html; charset=utf-8
</div>
<div itemprop="reservationFor" itemscope itemtype="http://schema.org/{{reservationFor_type.value}}">
Event: <strong><span itemprop="name">{{reservationFor_name.value}}</span></strong><br/>
{{reservationFor_description.value}}<br/>
(<a itemprop="url" href="{{reservationFor_url.value}}">{{reservationFor_url.value}}</a>)<br/>
<link itemprop="image" href="{{reservationFor_image.value}}"/>
<div itemprop="performer" itemscope itemtype="http://schema.org/Person">

View File

@ -1,6 +1,6 @@
Return-Path: {{user.email}}
From: Fake Reservation System <{{user.email}}>
Subject: [FRS] {{form_type_uc}} Reservation
Subject: [FRS] {{reservationFor_airline_iataCode.value}}{{reservationFor_flightNumber.value}} {{reservationFor_departureAirport_iataCode.value}} to {{reservationFor_arrivalAirport_iataCode.value}} - {{reservationFor_departureTime.value_human}} - {{form_type_uc}} Reservation
Date: {{email_date}}
X-Mailer: FRS/1.0
MIME-Version: 1.0

View File

@ -1,6 +1,6 @@
Return-Path: {{user.email}}
From: Fake Reservation System <{{user.email}}>
Subject: [FRS] {{form_type_uc}} Reservation
Subject: [FRS] {{reservationFor_name.value}} - {{checkinDate.value_human}} - {{form_type_uc}} Reservation
Date: {{email_date}}
X-Mailer: FRS/1.0
MIME-Version: 1.0