Merge pull request #10379 from seanmadsen/CRM-20301
[civicrm-core.git] / xml / templates / message_templates / participant_cancelled_text.tpl
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 {$event.location.address.1.display|strip_tags:false}
17 {/if}{*End of isShowLocation condition*}
18
19 {if $event.location.phone.1.phone || $event.location.email.1.email}
20
21 {ts}Event Contacts:{/ts}
22 {foreach from=$event.location.phone item=phone}
23 {if $phone.phone}
24
25 {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}
26 {/foreach}
27 {foreach from=$event.location.email item=eventEmail}
28 {if $eventEmail.email}
29
30 {ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
31 {/if}
32
33 {if $contact.email}
34
35 ===========================================================
36 {ts}Registered Email{/ts}
37
38 ===========================================================
39 {$contact.email}
40 {/if}
41
42 {if $register_date}
43 {ts}Registration Date{/ts}: {$participant.register_date|crmDate}
44 {/if}
45
46 {ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}
47