-
Notifications
You must be signed in to change notification settings - Fork 0
/
browsegroup.tpl
executable file
·48 lines (48 loc) · 1.43 KB
/
browsegroup.tpl
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
42
43
44
45
46
47
48
<div class="header">
<h2>Browse > <strong>Groups</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
/ Browse / Groups
</ol>
</div>
</div>
{$site->adbrowse}
{if $results|@count > 0}
<div class="row">
<div class="box col-md-12">
<div class="box-content">
<div class="row">
<div class="col-lg-12 portlets">
<div class="panel panel-default">
<div class="panel-body pagination2">
<table class="data table table-condensed table-striped Sortable table-responsive table-hover"
style="table-layout: auto;" data-sort-order="desc">
<thead>
<tr>
<th data-field="name" data-sortable="true">Name</th>
<th>Description</th>
<th data-field="updated" data-sortable="true">Updated</th>
</tr>
</thead>
<tbody>
{foreach $results as $result}
<tr>
<td>
<a title="Browse releases from {$result.name|replace:"alt.binaries":"a.b"}"
href="{$smarty.const.WWW_TOP}/browse/group?g={$result.name}">{$result.name|replace:"alt.binaries":"a.b"}</a>
</td>
<td>{$result.description}</td>
<td>{$result.last_updated|timeago} ago</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/if}