source: trunk/LATMOS-Accounts-Web/root/html/groups/index.tt @ 984

Last change on this file since 984 was 971, checked in by nanardon, 12 years ago
  • set properties
  • Property svn:keywords set to Id
File size: 830 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 = 'group'
7%]
8</div>
9
10<table border="0">
11<tr><td colspan="2">[% groupslist.size %] groupes</td></tr>
12<tr><th>Nom</th><th>Description</th><th></th></tr>
13[% FOREACH groupname = groupslist %]
14[% group = db.get_object('group', groupname) %]
15<tr>
16    <td><a href="[% c.uri_for('/groups', groupname) %]">
17        <img src="[% c.uri_for('/static', 'icons', 'icon_edit.png') %]"
18            height="16" width="16"
19            alt="[% "edit " _ groupname | html %]"></a>
20    [% group.id | html %]</td>
21    <td>
22    <span title="[% group.get_c_field('description') | html %]">
23    [% group.get_c_field('description') | truncate(30) | html %]
24    </span>
25    </td>
26</tr>
27[% END %]
28</table>
Note: See TracBrowser for help on using the repository browser.