Merge pull request #22277 from demeritcowboy/isdir2
[civicrm-core.git] / xml / templates / message_templates / participant_cancelled_text.tpl
1 {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if}
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|crmDate:"shortdate" == $event.event_start_date|crmDate:"shortdate"}{$event.event_end_date|crmDate:"Time"}{else}{$event.event_end_date|crmDate}{/if}{/if} {$event.event_tz}
12
13 {ts}Participant Role{/ts}: {participant.role_id:label}
14
15 {if $isShowLocation}
16 {$event.location.address.1.display|strip_tags:false}
17 {/if}{*End of isShowLocation condition*}
18
19 {if !empty($event.location.phone.1.phone) || !empty($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 !empty('{participant.register_date}')}
43 {ts}Registration Date{/ts}: {participant.register_date}
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