Skip to content
Snippets Groups Projects
Unverified Commit e0d6e901 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #21545 from eileenmcnaughton/tpl5

tpl enotice fixes on extensions page
parents 4e787efd 5d011bd0
Branches
Tags
No related merge requests found
......@@ -248,6 +248,7 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
}
$row = (array) $info;
$row['id'] = $info->key;
$row['upgradelink'] = '';
$action = CRM_Core_Action::UPDATE;
$row['action'] = CRM_Core_Action::formLink(self::links(),
$action,
......
......@@ -60,7 +60,7 @@
</td>
</tr>
<tr>
<td class="label">{ts}Local path{/ts}</td><td>{$extension.path|escape}</td>
<td class="label">{ts}Local path{/ts}</td><td>{if !empty($extension.path)}{$extension.path|escape}{/if}</td>
</tr>
{if !empty($extension.downloadUrl)}
<tr>
......
......@@ -17,7 +17,7 @@ Depends: CRM/common/enableDisableApi.tpl and CRM/common/jsortable.tpl
</thead>
<tbody>
{foreach from=$remoteExtensionRows key=extKey item=row}
{if $localExtensionRows[$extKey]}
{if !empty($localExtensionRows[$extKey])}
{continue}
{/if}
<tr id="addnew-row_{$row.file}" class="crm-extensions crm-extensions_{$row.file}">
......
......@@ -9,7 +9,7 @@
*}
{* enclose all tabs and its content in a block *}
<div class="crm-block crm-content-block">
{if $tabHeader and count($tabHeader)}
{if !empty($tabHeader) and count($tabHeader)}
<div id="mainTabContainer">
<ul>
{foreach from=$tabHeader key=tabName item=tabValue}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment