Commit | Line | Data |
---|---|---|
6a488035 | 1 | <table class="crm-info-panel"> |
f640e46c | 2 | {if $extension.name} |
6a488035 TO |
3 | <tr> |
4 | <td class="label">{ts}Name (key){/ts}</td><td>{$extension.name} ({$extension.key})</td> | |
5 | </tr> | |
6 | {/if} | |
7 | <tr> | |
8 | <td class="label">{ts}Description{/ts}</td><td>{$extension.description}</td> | |
9 | </tr> | |
10 | <tr> | |
11 | <td class="label">{ts}Download location{/ts}</td><td>{$extension.downloadUrl}</td> | |
12 | </tr> | |
13 | <tr> | |
14 | <td class="label">{ts}Local path{/ts}</td><td>{$extension.path}</td> | |
15 | </tr> | |
16 | {foreach from=$extension.urls key=label item=url} | |
17 | <tr><td class="label">{$label}</td><td><a href="{$url}">{$url}</a></td></tr> | |
18 | {/foreach} | |
19 | <tr> | |
20 | <td class="label">{ts}Author{/ts}</td><td>{$extension.maintainer.author} (<a href="mailto:{$extension.maintainer.email}">{$extension.maintainer.email}</a>)</td> | |
21 | </tr> | |
22 | <tr> | |
23 | <td class="label">{ts}Version{/ts}</td><td>{$extension.version}</td> | |
24 | </tr> | |
25 | <tr> | |
26 | <td class="label">{ts}Released on{/ts}</td><td>{$extension.releaseDate}</td> | |
27 | </tr> | |
28 | <tr> | |
29 | <td class="label">{ts}License{/ts}</td><td>{$extension.license}</td> | |
30 | </tr> | |
31 | <tr> | |
32 | <td class="label">{ts}Development stage{/ts}</td><td>{$extension.develStage}</td> | |
33 | </tr> | |
a1a9f5a7 JK |
34 | <tr> |
35 | <td class="label">{ts}Requires{/ts}</td> | |
36 | <td> | |
37 | {foreach from=$extension.requires item=ext} | |
38 | {if array_key_exists($ext, $localExtensionRows)} | |
318f234b | 39 | {$localExtensionRows.$ext.name} (already downloaded - {$ext}) |
a1a9f5a7 | 40 | {elseif array_key_exists($ext, $remoteExtensionRows)} |
318f234b | 41 | {$remoteExtensionRows.$ext.name} (not downloaded - {$ext}) |
a1a9f5a7 | 42 | {else} |
318f234b | 43 | {$ext} {ts}(not available){/ts} |
a1a9f5a7 | 44 | {/if} |
318f234b | 45 | <br/> |
a1a9f5a7 JK |
46 | {/foreach} |
47 | </td> | |
48 | </tr> | |
6a488035 TO |
49 | <tr> |
50 | <td class="label">{ts}Compatible with{/ts}</td> | |
51 | <td> | |
52 | {foreach from=$extension.compatibility.ver item=ver} | |
53 | {$ver} | |
54 | {/foreach} | |
55 | </td> | |
56 | </tr> | |
57 | <tr> | |
58 | <td class="label">{ts}Comments{/ts}</td><td>{$extension.comments}</td> | |
59 | </tr> | |
1188c7a8 | 60 | </table> |