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