Last change
on this file since 861 was
861,
checked in by nanardon, 12 years ago
|
- reimport missing files from previous svn
|
File size:
1.3 KB
|
Line | |
---|
1 | [% db = c.model('Accounts').db %] |
---|
2 | <!-- $Id --> |
---|
3 | <div style="float: right" id="filter"> |
---|
4 | [% INCLUDE 'includes/filter.tt' |
---|
5 | formuri = c.uri_for() |
---|
6 | otype = 'nethost' |
---|
7 | %] |
---|
8 | </div> |
---|
9 | |
---|
10 | <table border="0"> |
---|
11 | <tr><td colspan="3"> |
---|
12 | [% IF initials %] |
---|
13 | Pages: |
---|
14 | [% FOREACH initial = initials %] |
---|
15 | [% IF c.req.param('start') == initial %] |
---|
16 | < [% initial %] > |
---|
17 | [% ELSE %] |
---|
18 | [% uparams.start = initial %] |
---|
19 | <a href="[% c.uri_for('/nethosts', uparams) %]">[% initial %]</a> |
---|
20 | [% END %] |
---|
21 | [% END %] |
---|
22 | [% END %] |
---|
23 | </td></tr> |
---|
24 | <tr><td></td><th>Nom</th><th>Description</th></tr> |
---|
25 | [% FOREACH nethostname = nethostlist %] |
---|
26 | [% nethost = db.get_object('nethost', nethostname) %] |
---|
27 | <tr> |
---|
28 | <td> |
---|
29 | [% INCLUDE 'object_flag' object=nethost %] |
---|
30 | </td> |
---|
31 | <td> |
---|
32 | <a href="[% c.uri_for('/nethosts', nethostname) %]"> |
---|
33 | <img src="[% c.uri_for('/static', 'icons', 'icon_edit.png') %]" |
---|
34 | height="16" width="16" |
---|
35 | alt="[% "edit " _ nethostname | html %]"> |
---|
36 | </a>[% username | html %] |
---|
37 | [% nethostname | html %] |
---|
38 | [% IF nethost.get_attributes('owner') %] |
---|
39 | (<a href="[% c.uri_for('/users', nethost.get_attributes('owner')) %]">[% nethost.get_attributes('owner') %]</a>) |
---|
40 | [% END %] |
---|
41 | </td> |
---|
42 | <td> |
---|
43 | <span title="[% nethost.get_attributes('description') | html %]"> |
---|
44 | [% nethost.get_attributes('description') | truncate(20) | html %] |
---|
45 | </span> |
---|
46 | </td> |
---|
47 | </tr> |
---|
48 | [% END %] |
---|
49 | </table> |
---|
Note: See
TracBrowser
for help on using the repository browser.