Last change
on this file since 878 was
878,
checked in by nanardon, 13 years ago
|
|
-
Property svn:keywords set to
Id Rev
|
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 = 'user' |
---|
7 | %] |
---|
8 | </div> |
---|
9 | |
---|
10 | <table border="0"> |
---|
11 | <tr><td colspan="5"> |
---|
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('/users', uparams) %]">[% initial %]</a> |
---|
20 | [% END %] |
---|
21 | [% END %] |
---|
22 | [% END %] |
---|
23 | </td></tr> |
---|
24 | <tr><td></td><th>Login</th><th>Nom</th><th>Description</th><th>Mail</th></tr> |
---|
25 | [% FOREACH username = userslist %] |
---|
26 | [% user = db.get_object('user', username) %] |
---|
27 | <tr> |
---|
28 | <td> |
---|
29 | [% INCLUDE 'user_flag' ouser=user %] |
---|
30 | </td> |
---|
31 | <td><a href="[% c.uri_for('/users', username) %]"> |
---|
32 | <img src="[% c.uri_for('/static', 'icons', 'icon_edit.png') %]" |
---|
33 | height="16" width="16" |
---|
34 | alt="[% "edit " _ username | html %]"></a> |
---|
35 | [% username | html %]</td> |
---|
36 | <td> |
---|
37 | [% user.get_c_field('sn') | html %] |
---|
38 | [% user.get_c_field('givenName') | html %] |
---|
39 | </td> |
---|
40 | <td> |
---|
41 | <span title="[% user.get_c_field('description') | html %]"> |
---|
42 | [% user.get_c_field('description') | truncate(20) | html %] |
---|
43 | </span> |
---|
44 | </td> |
---|
45 | <td><span title="[% user.get_c_field('mail') | html %]"> |
---|
46 | [% user.get_c_field('mail') | truncate(20) | html %]</span> |
---|
47 | </td> |
---|
48 | </tr> |
---|
49 | [% END %] |
---|
50 | </table> |
---|
Note: See
TracBrowser
for help on using the repository browser.