commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / templates / CRM / Event / Form / Registration / ThankYou.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.6 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 {if $action & 1024}
27 {include file="CRM/Event/Form/Registration/PreviewHeader.tpl"}
28 {/if}
29
30 {include file="CRM/common/TrackingFields.tpl"}
31
32 <div class="crm-event-id-{$event.id} crm-block crm-event-thankyou-form-block">
33 {* Don't use "normal" thank-you message for Waitlist and Approval Required registrations - since it will probably not make sense for those situations. dgg *}
34 {if $event.thankyou_text AND (not $isOnWaitlist AND not $isRequireApproval)}
35 <div id="intro_text" class="crm-section event_thankyou_text-section">
36 <p>
37 {$event.thankyou_text}
38 </p>
39 </div>
40 {/if}
41
42 {* Show link to Tell a Friend (CRM-2153) *}
43 {if $friendText}
44 <div id="tell-a-friend" class="crm-section tell_friend_link-section">
45 <a href="{$friendURL}" title="{$friendText}" class="button"><span>&raquo; {$friendText}</span></a>
46 </div><br /><br />
47 {/if}
48
49 {* Add button for donor to create their own Personal Campaign page *}
50 {if $pcpLink}
51 <div class="crm-section create_pcp_link-section">
52 <a href="{$pcpLink}" title="{$pcpLinkText}" class="button"><span>&raquo; {$pcpLinkText}</span></a>
53 </div><br /><br />
54 {/if}
55
56 <div id="help">
57 {if $isOnWaitlist}
58 <p>
59 <span class="bold">{ts}You have been added to the WAIT LIST for this event.{/ts}</span>
60 {ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}
61 </p>
62 {elseif $isRequireApproval}
63 <p>
64 <span class="bold">{ts}Your registration has been submitted.{/ts}
65 {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>
66 </p>
67 {elseif $is_pay_later and $paidEvent and !$isAmountzero}
68 <div class="bold">{$pay_later_receipt}</div>
69 {if $is_email_confirm}
70 <p>{ts 1=$email}An email with event details has been sent to %1.{/ts}</p>
71 {/if}
72 {* PayPal_Standard sets contribution_mode to 'notify'. We don't know if transaction is successful until we receive the IPN (payment notification) *}
73 {elseif $contributeMode EQ 'notify' and $paidEvent}
74 <p>{ts 1=$paymentProcessor.name}Your registration payment has been submitted to %1 for processing. Please print this page for your records.{/ts}</p>
75 {if $is_email_confirm}
76 <p>{ts 1=$email}A registration confirmation email will be sent to %1 once the transaction is processed successfully.{/ts}</p>
77 {/if}
78 {else}
79 <p>{ts}Your registration has been processed successfully. Please print this page for your records.{/ts}</p>
80 {if $is_email_confirm}
81 <p>{ts 1=$email}A registration confirmation email has also been sent to %1{/ts}</p>
82 {/if}
83 {/if}
84 </div>
85 <div class="spacer"></div>
86
87 <div class="crm-group event_info-group">
88 <div class="header-dark">
89 {ts}Event Information{/ts}
90 </div>
91 <div class="display-block">
92 {include file="CRM/Event/Form/Registration/EventInfoBlock.tpl" context="ThankYou"}
93 </div>
94 </div>
95
96 {if $paidEvent && !$isRequireApproval && !$isOnWaitlist}
97 <div class="crm-group event_fees-group">
98 <div class="header-dark">
99 {$event.fee_label}
100 </div>
101 {if $lineItem}
102 {include file="CRM/Price/Page/LineItem.tpl" context="Event"}
103 {elseif $amount || $amount == 0}
104 <div class="crm-section no-label amount-item-section">
105 {foreach from= $finalAmount item=amount key=level}
106 <div class="content">
107 {$amount.amount|crmMoney}&nbsp;&nbsp;{$amount.label}
108 </div>
109 <div class="clear"></div>
110 {/foreach}
111 </div>
112 {if $totalTaxAmount}
113 <div class="content bold">{ts}Tax Total{/ts}:&nbsp;&nbsp;{$totalTaxAmount|crmMoney}</div>
114 <div class="clear"></div>
115 {/if}
116 {if $totalAmount}
117 <div class="crm-section no-label total-amount-section">
118 <div class="content bold">{ts}Event Total{/ts}:&nbsp;&nbsp;{$totalAmount|crmMoney}</div>
119 <div class="clear"></div>
120 </div>
121
122 {if $hookDiscount.message}
123 <div class="crm-section hookDiscount-section">
124 <em>({$hookDiscount.message})</em>
125 </div>
126 {/if}
127 {/if}
128 {/if}
129
130 {if $receive_date}
131 <div class="crm-section no-label receive_date-section">
132 <div class="content bold">{ts}Transaction Date{/ts}: {$receive_date|crmDate}</div>
133 <div class="clear"></div>
134 </div>
135 {/if}
136 {if $contributeMode ne 'notify' AND $trxn_id}
137 <div class="crm-section no-label trxn_id-section">
138 <div class="content bold">{ts}Transaction #{/ts}: {$trxn_id}</div>
139 <div class="clear"></div>
140 </div>
141 {/if}
142 </div>
143
144 {elseif $participantInfo}
145 <div class="crm-group participantInfo-group">
146 <div class="header-dark">
147 {ts}Additional Participant Email(s){/ts}
148 </div>
149 <div class="crm-section no-label participant_info-section">
150 <div class="content">
151 {foreach from=$participantInfo item=mail key=no}
152 <strong>{$mail}</strong><br />
153 {/foreach}
154 </div>
155 <div class="clear"></div>
156 </div>
157 </div>
158 {/if}
159
160 {if $event.participant_role neq 'Attendee' and $defaultRole}
161 <div class="crm-group participant_role-group">
162 <div class="header-dark">
163 {ts}Participant Role{/ts}
164 </div>
165 <div class="crm-section no-label participant_role-section">
166 <div class="content">
167 {$event.participant_role}
168 </div>
169 <div class="clear"></div>
170 </div>
171 </div>
172 {/if}
173
174 {include file="CRM/Event/Form/Registration/DisplayProfile.tpl"}
175 {if $contributeMode ne 'notify' and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and $paidEvent and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval}
176 <div class="crm-group billing_name_address-group">
177 <div class="header-dark">
178 {ts}Billing Name and Address{/ts}
179 </div>
180 <div class="crm-section no-label billing_name-section">
181 <div class="content">{$billingName}</div>
182 <div class="clear"></div>
183 </div>
184 <div class="crm-section no-label billing_address-section">
185 <div class="content">{$address|nl2br}</div>
186 <div class="clear"></div>
187 </div>
188 </div>
189 {/if}
190
191 {if $contributeMode eq 'direct' and $paidEvent and ! $is_pay_later and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval}
192 <div class="crm-group credit_card-group">
193 <div class="header-dark">
194 {ts}Credit Card Information{/ts}
195 </div>
196 <div class="crm-section no-label credit_card_details-section">
197 <div class="content">{$credit_card_type}</div>
198 <div class="content">{$credit_card_number}</div>
199 <div class="content">{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate}</div>
200 <div class="clear"></div>
201 </div>
202 </div>
203 {/if}
204
205 {if $event.thankyou_footer_text}
206 <div id="footer_text" class="crm-section event_thankyou_footer-section">
207 <p>{$event.thankyou_footer_text}</p>
208 </div>
209 {/if}
210
211 <div class="action-link section event_info_link-section">
212 <a href="{crmURL p='civicrm/event/info' q="reset=1&id=`$event.id`"}">&raquo; {ts 1=$event.event_title}Back to "%1" event information{/ts}</a>
213 </div>
214
215 {if $event.is_public }
216 {include file="CRM/Event/Page/iCalLinks.tpl"}
217 {/if}
218 {if $event.is_share}
219 {capture assign=eventUrl}{crmURL p='civicrm/event/info' q="id=`$event.id`&amp;reset=1" a=1 fe=1 h=1}{/capture}
220 {include file="CRM/common/SocialNetwork.tpl" url=$eventUrl title=$event.title pageURL=$eventUrl}
221 {/if}
222 </div>