Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 4 | | | |
1188c7a8 TO |
5 | | This work is published under the GNU AGPLv3 license with some | |
6 | | permitted exceptions and without any warranty. For full license | | |
7 | | and copyright information, see https://civicrm.org/licensing | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | {if $action & 1024} | |
11 | {include file="CRM/Event/Form/Registration/PreviewHeader.tpl"} | |
12 | {/if} | |
13 | ||
14 | {include file="CRM/common/TrackingFields.tpl"} | |
15 | ||
569df8ec | 16 | <div class="crm-event-id-{$event.id} crm-block crm-event-thankyou-form-block"> |
6a488035 TO |
17 | {* Don't use "normal" thank-you message for Waitlist and Approval Required registrations - since it will probably not make sense for those situations. dgg *} |
18 | {if $event.thankyou_text AND (not $isOnWaitlist AND not $isRequireApproval)} | |
19 | <div id="intro_text" class="crm-section event_thankyou_text-section"> | |
20 | <p> | |
21 | {$event.thankyou_text} | |
22 | </p> | |
23 | </div> | |
24 | {/if} | |
25 | ||
26 | {* Show link to Tell a Friend (CRM-2153) *} | |
27 | {if $friendText} | |
28 | <div id="tell-a-friend" class="crm-section tell_friend_link-section"> | |
9e63fff0 | 29 | <a href="{$friendURL}" title="{$friendText|escape:'html'}" class="button"><span>» {$friendText}</span></a> |
6a488035 TO |
30 | </div><br /><br /> |
31 | {/if} | |
32 | ||
33 | {* Add button for donor to create their own Personal Campaign page *} | |
34 | {if $pcpLink} | |
35 | <div class="crm-section create_pcp_link-section"> | |
9e63fff0 | 36 | <a href="{$pcpLink}" title="{$pcpLinkText|escape:'html'}" class="button"><span>» {$pcpLinkText}</span></a> |
6a488035 TO |
37 | </div><br /><br /> |
38 | {/if} | |
39 | ||
f6eedce7 | 40 | <div class="help"> |
6a488035 TO |
41 | {if $isOnWaitlist} |
42 | <p> | |
43 | <span class="bold">{ts}You have been added to the WAIT LIST for this event.{/ts}</span> | |
44 | {ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts} | |
45 | </p> | |
46 | {elseif $isRequireApproval} | |
47 | <p> | |
48 | <span class="bold">{ts}Your registration has been submitted.{/ts} | |
49 | {ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</span> | |
50 | </p> | |
51 | {elseif $is_pay_later and $paidEvent and !$isAmountzero} | |
52 | <div class="bold">{$pay_later_receipt}</div> | |
53 | {if $is_email_confirm} | |
54 | <p>{ts 1=$email}An email with event details has been sent to %1.{/ts}</p> | |
55 | {/if} | |
56 | {* PayPal_Standard sets contribution_mode to 'notify'. We don't know if transaction is successful until we receive the IPN (payment notification) *} | |
57 | {elseif $contributeMode EQ 'notify' and $paidEvent} | |
2046da19 | 58 | <p>{ts 1=$paymentProcessor.name}Your registration payment has been submitted to %1 for processing.{/ts}</p> |
6a488035 TO |
59 | {if $is_email_confirm} |
60 | <p>{ts 1=$email}A registration confirmation email will be sent to %1 once the transaction is processed successfully.{/ts}</p> | |
61 | {/if} | |
62 | {else} | |
2046da19 | 63 | <p>{ts}Your registration has been processed successfully.{/ts}</p> |
6a488035 TO |
64 | {if $is_email_confirm} |
65 | <p>{ts 1=$email}A registration confirmation email has also been sent to %1{/ts}</p> | |
66 | {/if} | |
67 | {/if} | |
68 | </div> | |
69 | <div class="spacer"></div> | |
70 | ||
71 | <div class="crm-group event_info-group"> | |
72 | <div class="header-dark"> | |
73 | {ts}Event Information{/ts} | |
74 | </div> | |
75 | <div class="display-block"> | |
76 | {include file="CRM/Event/Form/Registration/EventInfoBlock.tpl" context="ThankYou"} | |
77 | </div> | |
78 | </div> | |
79 | ||
ce2938e2 | 80 | {if $paidEvent && !$isRequireApproval && !$isOnWaitlist} |
6a488035 TO |
81 | <div class="crm-group event_fees-group"> |
82 | <div class="header-dark"> | |
83 | {$event.fee_label} | |
84 | </div> | |
85 | {if $lineItem} | |
86 | {include file="CRM/Price/Page/LineItem.tpl" context="Event"} | |
87 | {elseif $amount || $amount == 0} | |
88 | <div class="crm-section no-label amount-item-section"> | |
89 | {foreach from= $finalAmount item=amount key=level} | |
90 | <div class="content"> | |
91 | {$amount.amount|crmMoney} {$amount.label} | |
92 | </div> | |
93 | <div class="clear"></div> | |
94 | {/foreach} | |
95 | </div> | |
a32709be PB |
96 | {if $totalTaxAmount} |
97 | <div class="content bold">{ts}Tax Total{/ts}: {$totalTaxAmount|crmMoney}</div> | |
98 | <div class="clear"></div> | |
99 | {/if} | |
6a488035 TO |
100 | {if $totalAmount} |
101 | <div class="crm-section no-label total-amount-section"> | |
102 | <div class="content bold">{ts}Event Total{/ts}: {$totalAmount|crmMoney}</div> | |
103 | <div class="clear"></div> | |
104 | </div> | |
105 | ||
106 | {if $hookDiscount.message} | |
107 | <div class="crm-section hookDiscount-section"> | |
108 | <em>({$hookDiscount.message})</em> | |
109 | </div> | |
110 | {/if} | |
111 | {/if} | |
112 | {/if} | |
113 | ||
114 | {if $receive_date} | |
115 | <div class="crm-section no-label receive_date-section"> | |
116 | <div class="content bold">{ts}Transaction Date{/ts}: {$receive_date|crmDate}</div> | |
117 | <div class="clear"></div> | |
118 | </div> | |
119 | {/if} | |
120 | {if $contributeMode ne 'notify' AND $trxn_id} | |
121 | <div class="crm-section no-label trxn_id-section"> | |
122 | <div class="content bold">{ts}Transaction #{/ts}: {$trxn_id}</div> | |
123 | <div class="clear"></div> | |
124 | </div> | |
125 | {/if} | |
126 | </div> | |
127 | ||
128 | {elseif $participantInfo} | |
129 | <div class="crm-group participantInfo-group"> | |
130 | <div class="header-dark"> | |
131 | {ts}Additional Participant Email(s){/ts} | |
132 | </div> | |
133 | <div class="crm-section no-label participant_info-section"> | |
134 | <div class="content"> | |
135 | {foreach from=$participantInfo item=mail key=no} | |
136 | <strong>{$mail}</strong><br /> | |
137 | {/foreach} | |
138 | </div> | |
139 | <div class="clear"></div> | |
140 | </div> | |
141 | </div> | |
142 | {/if} | |
143 | ||
144 | {if $event.participant_role neq 'Attendee' and $defaultRole} | |
145 | <div class="crm-group participant_role-group"> | |
146 | <div class="header-dark"> | |
147 | {ts}Participant Role{/ts} | |
148 | </div> | |
149 | <div class="crm-section no-label participant_role-section"> | |
150 | <div class="content"> | |
151 | {$event.participant_role} | |
152 | </div> | |
153 | <div class="clear"></div> | |
154 | </div> | |
155 | </div> | |
156 | {/if} | |
157 | ||
158 | {include file="CRM/Event/Form/Registration/DisplayProfile.tpl"} | |
8ae4d0d3 | 159 | {if $contributeMode ne 'notify' and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and $paidEvent and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval} |
6a488035 TO |
160 | <div class="crm-group billing_name_address-group"> |
161 | <div class="header-dark"> | |
162 | {ts}Billing Name and Address{/ts} | |
163 | </div> | |
164 | <div class="crm-section no-label billing_name-section"> | |
165 | <div class="content">{$billingName}</div> | |
166 | <div class="clear"></div> | |
167 | </div> | |
168 | <div class="crm-section no-label billing_address-section"> | |
169 | <div class="content">{$address|nl2br}</div> | |
170 | <div class="clear"></div> | |
171 | </div> | |
172 | </div> | |
173 | {/if} | |
174 | ||
a5002aee | 175 | {if $credit_card_type} |
882bd8cb | 176 | {crmRegion name="event-thankyou-billing-block"} |
6a488035 | 177 | <div class="crm-group credit_card-group"> |
882bd8cb MWMC |
178 | <div class="header-dark"> |
179 | {ts}Credit Card Information{/ts} | |
180 | </div> | |
181 | <div class="crm-section no-label credit_card_details-section"> | |
182 | <div class="content">{$credit_card_type}</div> | |
6a488035 | 183 | <div class="content">{$credit_card_number}</div> |
882bd8cb | 184 | <div class="content">{if $credit_card_exp_date}{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}{/if}</div> |
6a488035 TO |
185 | <div class="clear"></div> |
186 | </div> | |
187 | </div> | |
882bd8cb | 188 | {/crmRegion} |
6a488035 TO |
189 | {/if} |
190 | ||
191 | {if $event.thankyou_footer_text} | |
192 | <div id="footer_text" class="crm-section event_thankyou_footer-section"> | |
193 | <p>{$event.thankyou_footer_text}</p> | |
194 | </div> | |
195 | {/if} | |
196 | ||
197 | <div class="action-link section event_info_link-section"> | |
198 | <a href="{crmURL p='civicrm/event/info' q="reset=1&id=`$event.id`"}">» {ts 1=$event.event_title}Back to "%1" event information{/ts}</a> | |
199 | </div> | |
200 | ||
201 | {if $event.is_public } | |
202 | {include file="CRM/Event/Page/iCalLinks.tpl"} | |
203 | {/if} | |
204 | {if $event.is_share} | |
7e8bc026 | 205 | {capture assign=eventUrl}{crmURL p='civicrm/event/info' q="id=`$event.id`&reset=1" a=1 fe=1 h=1}{/capture} |
6a488035 TO |
206 | {include file="CRM/common/SocialNetwork.tpl" url=$eventUrl title=$event.title pageURL=$eventUrl} |
207 | {/if} | |
208 | </div> |