2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.7 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2015 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
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. |
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. |
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 +--------------------------------------------------------------------+
26 {* Block displays key event info for Registration Confirm and Thankyou pages *}
27 <table class="form-layout">
30 {if $context EQ 'ThankYou'} {* Provide link back to event info page from Thank-you page *}
31 <a href="{crmURL p='civicrm/event/info' q="reset=1&id=`$event.id`"}"title="{ts}View complete event information.{/ts}"><strong>{$event.event_title}</strong></a>
33 <strong>{$event.event_title}</strong>
37 <tr><td><label>{ts}When{/ts}</label></td>
39 {$event.event_start_date|crmDate}
40 {if $event.event_end_date}
41 {ts}through{/ts}
42 {* Only show end time if end date = start date *}
43 {if $event.event_end_date|date_format:"%Y%m%d" == $event.event_start_date|date_format:"%Y%m%d"}
44 {$event.event_end_date|crmDate:0:1}
46 {$event.event_end_date|crmDate}
53 {if $location.address.1}
54 <tr><td><label>{ts}Location{/ts}</label></td>
56 {$location.address.1.display|nl2br}
57 {if ( $event.is_map &&
58 $config->mapProvider &&
59 ( ( !empty($location.address.1.geo_code_1) && is_numeric($location.address.1.geo_code_1) ) ||
60 ( !empty($location.address.1.city) AND !empty($location.address.1.state_province) ) ) ) }
61 <br/><a href="{crmURL p='civicrm/contact/map/event' q="reset=1&eid=`$event.id`"}" title="{ts}Map this Address{/ts}" target="_blank">{ts}Map this Location{/ts}</a>
66 {/if}{*End of isShowLocation condition*}
68 {if $location.phone.1.phone || $location.email.1.email}
69 <tr><td><label>{ts}Contact{/ts}</label></td>
71 {* loop on any phones and emails for this event *}
72 {foreach from=$location.phone item=phone}
74 {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}
79 {foreach from=$location.email item=email}
81 {ts}Email:{/ts} <a href="mailto:{$email.email}">{$email.email}</a>