2 Display a table of remotely-available extensions
4 Depends: CRM/common/enableDisableApi.tpl and CRM/common/jsortable.tpl
6 {if $remoteExtensionRows}
7 <div id="extensions-addnew">
9 <table id="extensions-addnew-table" class="display">
12 <th>{ts}Extension name (key){/ts}</th>
13 <th>{ts}Version{/ts}</th>
14 <th>{ts}Type{/ts}</th>
19 {foreach from=$remoteExtensionRows key=extKey item=row}
20 {if $localExtensionRows[$extKey]}
23 <tr id="addnew-row_{$row.id}" class="crm-extensions crm-extensions_{$row.id}">
24 <td class="crm-extensions-label">
25 <a class="collapsed" href="#"></a> <strong>{$row.label}</strong><br/>({$row.key})
27 <td class="crm-extensions-label">{$row.version} {if $row.upgradable}<br/>({$row.upgradeVersion}){/if}</td>
28 <td class="crm-extensions-description">{$row.type|capitalize}</td>
29 <td>{$row.action|replace:'xx':$row.id}</td>
31 <tr class="hiddenElement" id="crm-extensions-details-addnew-{$row.id}">
33 {include file="CRM/Admin/Page/ExtensionDetails.tpl" extension=$row}
35 <td></td><td></td><td></td>
43 <div class="messages status no-popup">
44 <div class="icon inform-icon"></div>
45 {ts}There are no extensions to display. Please click "Refresh" to update information about available extensions.{/ts}