blob: 1db4e4f981e35413a8846a234df9d726b04e4460 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{layout '@layout.latte'}
{var $active = 'overview'}
{block title}{$config->title ?: 'Overview'}{/block}
{block content}
<div id="content">
<h1>{include title}</h1>
{var $group = false}
<table class="summary" id="namespaces" n:if="$namespaces">
<caption>Namespaces summary</caption>
{foreach $namespaces as $namespace}
{continueIf $config->main && 0 !== strpos($namespace, $config->main)}
<tr>
{var $group = true}
<td class="name"><a href="{$namespace|namespaceUrl}">{$namespace}</a></td>
</tr>
{/foreach}
</table>
<table class="summary" id="packages" n:if="count($packages)">
<caption>Packages summary</caption>
{foreach $packages as $package}
{continueIf $config->main && 0 !== strpos($package, $config->main)}
<tr>
{var $group = true}
<td class="name">
<a href="{$package|packageUrl}">{$package}</a>
</td>
</tr>
{/foreach}
</table>
{if ! $group}
{include '@elementlist.latte'}
{/if}
</div>
{/block}
|