From 445c74e7a1dd19f5ecdf6e03aa64a35dbbeddb4d Mon Sep 17 00:00:00 2001 From: John Kirk Date: Fri, 14 Oct 2016 18:45:25 +0100 Subject: [PATCH] Further work to pull request 9257 CRM-16243 - Extension API - Automatically enable dependencies Also adjusted interface to show the needed dependencies. --- templates/CRM/Admin/Page/ExtensionDetails.tpl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/templates/CRM/Admin/Page/ExtensionDetails.tpl b/templates/CRM/Admin/Page/ExtensionDetails.tpl index db2126d8ac..56ca683c5a 100644 --- a/templates/CRM/Admin/Page/ExtensionDetails.tpl +++ b/templates/CRM/Admin/Page/ExtensionDetails.tpl @@ -36,13 +36,12 @@ {foreach from=$extension.requires item=ext} {if array_key_exists($ext, $localExtensionRows)} - {$localExtensionRows.$ext.name} (already downloaded - {$ext}) + {$localExtensionRows.$ext.name} {elseif array_key_exists($ext, $remoteExtensionRows)} - {$remoteExtensionRows.$ext.name} (not downloaded - {$ext}) + {$remoteExtensionRows.$ext.name} (not downloaded) {else} - {$ext} {ts}(not available){/ts} + {$ext} (not installed locally or available remotely) {/if} -
{/foreach} -- 2.25.1