source: LATMOS-Accounts-Web/root/html/users/index.tt @ 407

Last change on this file since 407 was 407, checked in by nanardon, 15 years ago
  • attributes needing to have uniq value are now check online, showing img on field change
  • Property svn:keywords set to Id Rev
File size: 781 bytes
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="2">[% userslist.size %] Utilisateurs</td></tr>
12<tr><th>Login</th><th>Nom</th></tr>
13[% FOREACH username = userslist %]
14[% user = db.get_object('user', username) %]
15<tr>
16    <td>[% user.get_c_field('uid') | html %]</td>
17    <td>
18        [% user.get_c_field('sn') | html %]
19        [% user.get_c_field('givenName') | html %]
20    <a href="[% c.uri_for('/users', username) %]">
21        <img src="[% c.uri_for('/static', 'icons', 'arrow-right.png') %]"
22            height="16" width="16"
23            alt="[% "edit " _ username | html %]">
24    </a></td>
25</tr>
26[% END %]
27</table>
Note: See TracBrowser for help on using the repository browser.