X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FEvent%2FPage%2FEventInfo.tpl;h=1cede5a07616a2b5120435729770c149eef324fb;hb=18afc30cef13dd06cec8e1b1591a3b147913225b;hp=0c704b631c32c1015f825f5189d4eef53d5d7af4;hpb=8774205d33ca5b981a10408a1db9ee640d57f2e6;p=civicrm-core.git
diff --git a/templates/CRM/Event/Page/EventInfo.tpl b/templates/CRM/Event/Page/EventInfo.tpl
index 0c704b631c..1cede5a076 100644
--- a/templates/CRM/Event/Page/EventInfo.tpl
+++ b/templates/CRM/Event/Page/EventInfo.tpl
@@ -1,6 +1,6 @@
{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
@@ -35,68 +35,50 @@
{if call_user_func(array('CRM_Core_Permission','check'), 'access CiviEvent')}
-{if call_user_func(array('CRM_Core_Permission','check'), 'edit all events')}
+{if call_user_func(array('CRM_Core_Permission','check'), 'edit all events') && !empty($manageEventLinks)}
-
{/if}
--
@@ -182,7 +164,7 @@
{* loop on any phones and emails for this event *}
{foreach from=$location.phone item=phone}
{if $phone.phone}
- {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}:
+ {if $phone.phone_type_id}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}:
{$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}
{/if}
{/foreach}
@@ -216,13 +198,13 @@
{$feeBlock.label.$idx} |
{if $isPriceSet & $feeBlock.isDisplayAmount.$idx}
-
+ |
{if isset($feeBlock.tax_amount.$idx)}
- {$feeBlock.value.$idx}
+ {$feeBlock.value.$idx}
{else}
- {$feeBlock.value.$idx|crmMoney}
+ {$feeBlock.value.$idx|crmMoney}
{/if}
- |
+
{/if}
{/if}
@@ -245,7 +227,7 @@
{/if}
{/crmRegion}
- { if $event.is_public }
+ {if $event.is_public }
{include file="CRM/Event/Page/iCalLinks.tpl"}
{/if}