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 +--------------------------------------------------------------------+
10 {* Block displays key event info for Registration Confirm and Thankyou pages *}
11 <table class="form-layout">
14 {if $context EQ 'ThankYou'} {* Provide link back to event info page from Thank-you page *}
15 <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>
17 <strong>{$event.event_title}</strong>
21 <tr><td>{ts}When{/ts}</td>
23 {$event.event_start_date|crmDate}
24 {if $event.event_end_date}
25 {ts}through{/ts}
26 {* Only show end time if end date = start date *}
27 {if $event.event_end_date|date_format:"%Y%m%d" == $event.event_start_date|date_format:"%Y%m%d"}
28 {$event.event_end_date|crmDate:0:1}
30 {$event.event_end_date|crmDate}
37 {if $location.address.1}
38 <tr><td>{ts}Location{/ts}</td>
40 {$location.address.1.display|nl2br}
41 {if ( $event.is_map &&
42 $config->mapProvider &&
43 ( ( !empty($location.address.1.geo_code_1) && is_numeric($location.address.1.geo_code_1) ) ||
44 ( !empty($location.address.1.city) AND !empty($location.address.1.state_province) ) ) ) }
45 <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>
50 {/if}{*End of isShowLocation condition*}
52 {if $location.phone.1.phone || $location.email.1.email}
53 <tr><td>{ts}Contact{/ts}</td>
55 {* loop on any phones and emails for this event *}
56 {foreach from=$location.phone item=phone}
58 {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}
63 {foreach from=$location.email item=email}
65 {ts}Email:{/ts} <a href="mailto:{$email.email}">{$email.email}</a>