Remove unused boilerplate from Case CustomDataView.tpl
[civicrm-core.git] / templates / CRM / Case / Page / Tab.tpl
index 83fe9dc27db4213d3de6c947dd801752edd869df..089c4a9de1e1f97ca637b046cbce080703c313f4 100644 (file)
@@ -1,8 +1,8 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -31,7 +31,7 @@
       <div class="icon inform-icon"></div>&nbsp;
          <strong>{ts}Oops, It looks like there are no active case types.{/ts}</strong>
            {if call_user_func(array('CRM_Core_Permission','check'), ' administer CiviCase')}
-             {capture assign=adminCaseTypeURL}{crmURL p='civicrm/admin/options/case_type' q='reset=1&group=case_type'}
+             {capture assign=adminCaseTypeURL}{crmURL p='civicrm/a/#/caseType'}
        {/capture}
              {ts 1=$adminCaseTypeURL 2=$adminCaseStatusURL}Enable <a href='%1'>case types</a>.{/ts}
            {/if}
     <div class="view-content">
     <div id="help">
          {ts 1=$displayName}This page lists all case records for %1.{/ts}
-         {if $permission EQ 'edit' and
-             call_user_func(array('CRM_Core_Permission','check'), 'access all cases and activities') and
-       $allowToAddNewCase}
-             {ts 1=$newCaseURL}Click <a href='%1'>Add Case</a> to add a case record for this contact.{/ts}{/if}
+         {if $permission EQ 'edit' and call_user_func(array('CRM_Core_Permission','check'), 'access all cases and activities') and $allowToAddNewCase}
+         {ts 1="href='$newCaseURL' class='action-item'"}Click <a %1>Add Case</a> to add a case record for this contact.{/ts}{/if}
     </div>
 
     {if $action eq 16 and $permission EQ 'edit' and