Merge pull request #1430 from kurund/event-ical-fixes
[civicrm-core.git] / xml / templates / message_templates / participant_cancelled_text.tpl
CommitLineData
6a488035
TO
1{ts 1=$contact.display_name}Dear %1{/ts},
2
3{ts}Your Event Registration has been cancelled.{/ts}
4
5
6===========================================================
7{ts}Event Information and Location{/ts}
8
9===========================================================
10{$event.event_title}
11{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:"%Y%m%d" == $event.event_start_date|date_format:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}
12
13{ts}Participant Role{/ts}: {$participant.role}
14
15{if $isShowLocation}
16{if $event.location.address.1.name}
17
18{$event.location.address.1.name}
19{/if}
20{if $event.location.address.1.street_address}{$event.location.address.1.street_address}
21{/if}
22{if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}
23{/if}
24{if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}
25{/if}
26{if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}
27{/if}
28
29{/if}{*End of isShowLocation condition*}
30
31{if $event.location.phone.1.phone || $event.location.email.1.email}
32
33{ts}Event Contacts:{/ts}
34{foreach from=$event.location.phone item=phone}
35{if $phone.phone}
36
37{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}
38{/foreach}
39{foreach from=$event.location.email item=eventEmail}
40{if $eventEmail.email}
41
42{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
43{/if}
44
45{capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture}
46{ts}Download iCalendar File{/ts}: {$icalFeed}
47{if $contact.email}
48
49===========================================================
50{ts}Registered Email{/ts}
51
52===========================================================
53{$contact.email}
54{/if}
55
56{if $register_date}
57{ts}Registration Date{/ts}: {$participant.register_date|crmDate}
58{/if}
59
60{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}
61