cb4795b824f1e028988a3a2aa65c34b28d8754bd
[civicrm-core.git] / xml / templates / message_templates / participant_confirm_text.tpl
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}
9 Click this link to go to a web page where you can confirm your registration online:
10 {$confirmUrl}
11 {/if}
12 {if $event.allow_selfcancelxfer }
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}
16 {/if}
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}
45 {if $event.location.address.1.name}
46
47 {$event.location.address.1.name}
48 {/if}
49 {if $event.location.address.1.street_address}{$event.location.address.1.street_address}
50 {/if}
51 {if $event.location.address.1.supplemental_address_1}{$event.location.address.1.supplemental_address_1}
52 {/if}
53 {if $event.location.address.1.supplemental_address_2}{$event.location.address.1.supplemental_address_2}
54 {/if}
55 {if $event.location.address.1.city}{$event.location.address.1.city} {$event.location.address.1.postal_code}{if $event.location.address.1.postal_code_suffix} - {$event.location.address.1.postal_code_suffix}{/if}
56 {/if}
57
58 {/if}{*End of isShowLocation condition*}
59
60 {if $event.location.phone.1.phone || $event.location.email.1.email}
61
62 {ts}Event Contacts:{/ts}
63 {foreach from=$event.location.phone item=phone}
64 {if $phone.phone}
65
66 {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}
67 {/foreach}
68 {foreach from=$event.location.email item=eventEmail}
69 {if $eventEmail.email}
70
71 {ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
72 {/if}
73
74 {if $event.is_public}
75 {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture}
76 {ts}Download iCalendar File:{/ts} {$icalFeed}
77 {/if}
78
79 {if $contact.email}
80
81 ===========================================================
82 {ts}Registered Email{/ts}
83
84 ===========================================================
85 {$contact.email}
86 {/if}
87
88 {if $register_date}
89 {ts}Registration Date{/ts}: {$participant.register_date|crmDate}
90 {/if}
91
92 {ts 1=$domain.phone 2=$domain.email}Please contact us at %1 or send email to %2 if you have questions.{/ts}
93