Further work to pull request 9257 CRM-16243 - Extension API - Automatically enable...
authorJohn Kirk <john@civifirst.com>
Fri, 14 Oct 2016 17:45:25 +0000 (18:45 +0100)
committerJohn Kirk <accounts@civifirst.com>
Mon, 9 Oct 2017 18:27:52 +0000 (18:27 +0000)
Also adjusted interface to show the needed dependencies.

templates/CRM/Admin/Page/ExtensionDetails.tpl

index db2126d8ac18200d896b7b854b91864c1ece5c91..56ca683c5a973ed265d0badd626e02a7264fd946 100644 (file)
         <td>
             {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}
-                <br/>
             {/foreach}
         </td>
     </tr>