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