-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from slub/fix-81
Fix email name in cancellation mails to subscriber
- Loading branch information
Showing
14 changed files
with
95 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Resources/Private/Templates/Email/CancellEventSubscriber.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{namespace se=Slub\SlubEvents\ViewHelpers} | ||
<p>{f:translate(key: 'text.salutation')} {subscriber.name},</p> | ||
|
||
<p>leider müssen wir folgende Veranstaltung absagen, da die Mindestteilnehmerzahl nicht erreicht wurde:</p> | ||
|
||
<p><strong>{event.title}</strong></p> | ||
|
||
<p> | ||
<se:format.oneLine htmlString="<f:render partial='Event/DateFromTo' arguments='{event : event}' />"/> | ||
</p> | ||
|
||
<f:if condition="{helper.location}"> | ||
<f:then> | ||
<p><strong>{f:translate(key: 'tx_slubevents_domain_model_location')}:</strong><br/>{helper.location}</p> | ||
<f:format.html parseFuncTSPath="">{event.location.description}</f:format.html> | ||
</f:then> | ||
</f:if> | ||
|
||
<p>Anmeldungen sind nicht mehr möglich.</p> | ||
|
||
<p> | ||
<f:translate key='text.closing'/> | ||
</p> | ||
<p> </p> | ||
<p>{event.contact.name} <br/> | ||
<f:translate key='text.signature'/> | ||
</p> |
43 changes: 43 additions & 0 deletions
43
Resources/Private/Templates/Email/CancellEventSubscriber.ics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
BEGIN:VCALENDAR | ||
METHOD:CANCEL | ||
PRODID:-//CALENDAR SLUB//DE | ||
VERSION:2.0 | ||
BEGIN:VTIMEZONE | ||
TZID:Europe/Berlin | ||
BEGIN:DAYLIGHT | ||
DTSTART:20130331T020000 | ||
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU | ||
TZNAME:CEST | ||
TZOFFSETFROM:+0100 | ||
TZOFFSETTO:+0200 | ||
END:DAYLIGHT | ||
BEGIN:STANDARD | ||
DTSTART:20131027T030000 | ||
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU | ||
TZNAME:CET | ||
TZOFFSETFROM:+0200 | ||
TZOFFSETTO:+0100 | ||
END:STANDARD | ||
END:VTIMEZONE | ||
BEGIN:VEVENT | ||
ORGANIZER;CN="{event.contact.name}":MAILTO:{event.contact.email} | ||
DESCRIPTION:{helper.description} | ||
SUMMARY:{event.title} | ||
UID:{event.uid}-event-slub-dresden | ||
<f:if condition="{helper.allDay} == 1"><f:then> | ||
DTSTART;VALUE=DATE:<f:format.date date="@{helper.start}" format="Ymd" /> | ||
<f:if condition="{helper.end} == 1"><f:then> | ||
DTEND;VALUE=DATE:<f:format.date date="@{helper.end}" format="Ymd" /> | ||
</f:then></f:if> | ||
X-MICROSOFT-CDO-ALLDAYEVENT</f:then><f:else> | ||
DTSTART:<f:format.date date="@{helper.start}" format="Ymd\THis" /> | ||
DTEND:<f:format.date date="@{helper.end}" format="Ymd\THis" /></f:else></f:if> | ||
DTSTAMP:<f:format.date date="@{helper.now}" format="Ymd\THis" /> | ||
LAST-MODIFIED:<f:format.date date="@{helper.now}" format="Ymd\THis" /> | ||
SEQUENCE:0 | ||
CLASS:PUBLIC | ||
LOCATION:{helper.locationics} | ||
TRANSP:OPAQUE | ||
STATUS:CANCELLED | ||
END:VEVENT | ||
END:VCALENDAR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters