2 +--------------------------------------------------------------------+
3 | Copyright CiviCRM LLC. All rights reserved. |
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 |
8 +--------------------------------------------------------------------+
11 {include file="CRM/Event/Form/Registration/PreviewHeader.tpl"}
14 {include file="CRM/common/TrackingFields.tpl"}
16 <div class="crm-event-id-{$event.id} crm-block crm-event-thankyou-form-block">
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">
21 {$event.thankyou_text}
26 {* Show link to Tell a Friend (CRM-2153) *}
28 <div id="tell-a-friend" class="crm-section tell_friend_link-section">
29 <a href="{$friendURL}" title="{$friendText|escape:'html'}" class="button"><span>» {$friendText}</span></a>
33 {* Add button for donor to create their own Personal Campaign page *}
35 <div class="crm-section create_pcp_link-section">
36 <a href="{$pcpLink}" title="{$pcpLinkText|escape:'html'}" class="button"><span>» {$pcpLinkText}</span></a>
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}
46 {elseif $isRequireApproval}
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>
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>
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}
58 <p>{ts 1=$paymentProcessor.name}Your registration payment has been submitted to %1 for processing.{/ts}</p>
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>
63 <p>{ts}Your registration has been processed successfully.{/ts}</p>
64 {if $is_email_confirm}
65 <p>{ts 1=$email}A registration confirmation email has also been sent to %1{/ts}</p>
69 <div class="spacer"></div>
71 <div class="crm-group event_info-group">
72 <div class="header-dark">
73 {ts}Event Information{/ts}
75 <div class="display-block">
76 {include file="CRM/Event/Form/Registration/EventInfoBlock.tpl" context="ThankYou"}
80 {if $paidEvent && !$isRequireApproval && !$isOnWaitlist}
81 <div class="crm-group event_fees-group">
82 <div class="header-dark">
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}
91 {$amount.amount|crmMoney} {$amount.label}
93 <div class="clear"></div>
97 <div class="content bold">{ts}Tax Total{/ts}: {$totalTaxAmount|crmMoney}</div>
98 <div class="clear"></div>
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>
106 {if $hookDiscount.message}
107 <div class="crm-section hookDiscount-section">
108 <em>({$hookDiscount.message})</em>
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>
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>
128 {elseif $participantInfo}
129 <div class="crm-group participantInfo-group">
130 <div class="header-dark">
131 {ts}Additional Participant Email(s){/ts}
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 />
139 <div class="clear"></div>
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}
149 <div class="crm-section no-label participant_role-section">
150 <div class="content">
151 {$event.participant_role}
153 <div class="clear"></div>
158 {include file="CRM/Event/Form/Registration/DisplayProfile.tpl"}
159 {if $contributeMode ne 'notify' and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and $paidEvent and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval}
160 <div class="crm-group billing_name_address-group">
161 <div class="header-dark">
162 {ts}Billing Name and Address{/ts}
164 <div class="crm-section no-label billing_name-section">
165 <div class="content">{$billingName}</div>
166 <div class="clear"></div>
168 <div class="crm-section no-label billing_address-section">
169 <div class="content">{$address|nl2br}</div>
170 <div class="clear"></div>
175 {if $credit_card_type}
176 {crmRegion name="event-thankyou-billing-block"}
177 <div class="crm-group credit_card-group">
178 <div class="header-dark">
179 {ts}Credit Card Information{/ts}
181 <div class="crm-section no-label credit_card_details-section">
182 <div class="content">{$credit_card_type}</div>
183 <div class="content">{$credit_card_number}</div>
184 <div class="content">{if $credit_card_exp_date}{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}{/if}</div>
185 <div class="clear"></div>
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>
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>
201 {if $event.is_public }
202 {include file="CRM/Event/Page/iCalLinks.tpl"}
205 {capture assign=eventUrl}{crmURL p='civicrm/event/info' q="id=`$event.id`&reset=1" a=1 fe=1 h=1}{/capture}
206 {include file="CRM/common/SocialNetwork.tpl" url=$eventUrl title=$event.title pageURL=$eventUrl}