blob: e610860d2890b40bc51afd9e042d5bb63a6bc064 (
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
41
|
<ste:load name="master.html" />
<ste:block name="content">
<ste:default_error />
<ste:default_success />
<h2><ste:escape>$list_heading</ste:escape></h2>
<table class="listtab fullwidth">
<thead>
<tr>
<th>Package Name</th>
<th>Version</th>
<th>Description</th>
<th>Author</th>
<th>Last update</th>
</tr>
</thead>
<tbody>
<ste:if>
<ste:set var="pkgs_n"><ste:arraylen array="pkgs" /></ste:set>
~{$pkgs_n|gt|0}
<ste:then>
<ste:foreach array="pkgs" value="pkg">
<tr>
<td><a href="$rel_path_to_root/p/<ste:escape>$pkg[name]</ste:escape>"><ste:escape>$pkg[name]</ste:escape></a></td>
<td><ste:escape>$pkg[version]</ste:escape></td>
<td><ste:escape>$pkg[description]</ste:escape></td>
<td><ste:escape>$pkg[author]</ste:escape></td>
<td><ste:date timestamp="$pkg[last_update]">%d. %h. %Y, %H:%M:%S</ste:date></td>
</tr>
</ste:foreach>
</ste:then>
<ste:else>
<tr>
<td style="text-align: center; font-style: italic;" colspan="5">No Packages found.</td>
</tr>
</ste:else>
</ste:if>
</tbody>
</table>
</ste:block>
|