Merge pull request #12998 from agileware/CIVICRM-990
[civicrm-core.git] / xml / templates / message_templates / participant_confirm_text.tpl
CommitLineData
6a488035
TO
1{ts 1=$contact.display_name}Dear %1{/ts},
2{if !$isAdditional and $participant.id}
3
4===========================================================
5{ts}Confirm Your Registration{/ts}
6
7===========================================================
8{capture assign=confirmUrl}{crmURL p='civicrm/event/confirm' q="reset=1&participantId=`$participant.id`&cs=`$checksumValue`" a=true h=0 fe=1}{/capture}
9Click this link to go to a web page where you can confirm your registration online:
10{$confirmUrl}
11{/if}
97d8187a 12{if $event.allow_selfcancelxfer }
adaa01fa
DG
13{ts 1=$event.selfcancelxfer_time}You may transfer your registration to another participant or cancel your registration up to %1 hours before the event.{/ts} {if $totalAmount}{ts}Cancellations are not refundable.{/ts}{/if}
14 {capture assign=selfService}{crmURL p='civicrm/event/selfsvcupdate' q="reset=1&pid=`$participant.id`&{contact.checksum}" h=0 a=1 fe=1}{/capture}
15{ts}Transfer or cancel your registration:{/ts} {$selfService}
97d8187a 16{/if}
6a488035
TO
17===========================================================
18{ts}Event Information and Location{/ts}
19
20===========================================================
21{$event.event_title}
22{$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}
23{if $conference_sessions}
24
25
26{ts}Your schedule:{/ts}
27{assign var='group_by_day' value='NA'}
28{foreach from=$conference_sessions item=session}
29{if $session.start_date|date_format:"%Y/%m/%d" != $group_by_day|date_format:"%Y/%m/%d"}
30{assign var='group_by_day' value=$session.start_date}
31
32{$group_by_day|date_format:"%m/%d/%Y"}
33
34
35{/if}
36{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}
37{if $session.location} {$session.location}{/if}
38{/foreach}
39{/if}
40
41
42{ts}Participant Role{/ts}: {$participant.role}
43
44{if $isShowLocation}
060625d6 45{$event.location.address.1.display|strip_tags:false}
6a488035
TO
46{/if}{*End of isShowLocation condition*}
47
48{if $event.location.phone.1.phone || $event.location.email.1.email}
49
50{ts}Event Contacts:{/ts}
51{foreach from=$event.location.phone item=phone}
52{if $phone.phone}
53
54{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}
55{/foreach}
56{foreach from=$event.location.email item=eventEmail}
57{if $eventEmail.email}
58
59{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
60{/if}
61
bcd9e9f5 62{if $event.is_public}
6a488035 63{capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture}
4de4dbe9
J
64{ts}Download iCalendar File:{/ts} {$icalFeed}
65{/if}
66
6a488035
TO
67{if $contact.email}
68
69===========================================================
70{ts}Registered Email{/ts}
71
72===========================================================
73{$contact.email}
74{/if}
75
76{if $register_date}
77{ts}Registration Date{/ts}: {$participant.register_date|crmDate}
78{/if}
79
80{ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}
81