Merge pull request #23965 from MegaphoneJon/contribution-view-perm-fix
[civicrm-core.git] / xml / templates / message_templates / participant_confirm_text.tpl
1 {assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if}
2
3 {ts}This is an invitation to complete your registration that was initially waitlisted.{/ts}
4
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}
12 Click this link to go to a web page where you can confirm your registration online:
13 {$confirmUrl}
14 {/if}
15 {if $event.allow_selfcancelxfer }
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}
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}
19 {/if}
20 ===========================================================
21 {ts}Event Information and Location{/ts}
22
23 ===========================================================
24 {$event.event_title}
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}
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}
48 {$event.location.address.1.display|strip_tags:false}
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
65 {if $event.is_public}
66 {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture}
67 {ts}Download iCalendar entry for this event.{/ts} {$icalFeed}
68 {capture assign=gCalendar}{crmURL p='civicrm/event/ical' q="gCalendar=1&reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture}
69 {ts}Add event to Google Calendar{/ts} {$gCalendar}
70 {/if}
71
72 {if '{contact.email}'}
73
74 ===========================================================
75 {ts}Registered Email{/ts}
76
77 ===========================================================
78 {contact.email}
79 {/if}
80
81 {if $register_date}
82 {ts}Registration Date{/ts}: {$participant.register_date|crmDate}
83 {/if}
84
85 {ts 1='{domain.phone}' 2='{domain.email}'}Please contact us at %1 or send email to %2 if you have questions.{/ts}
86