source: LATMOS-Accounts-Web/root/html/users/groups.tt @ 149

Last change on this file since 149 was 149, checked in by nanardon, 15 years ago
  • fix template name
  • Property svn:keywords set to Id Rev
File size: 917 bytes
Line 
1<!-- $Id$ -->
2[% IF NOT user %]
3No user [% username | html %] found.
4[% ELSE %]
5   
6<div class=objectform>
7[% INCLUDE 'users/menu.tt' %]
8
9<table border="1">
10<tr>
11<th>Membre de:</th>
12<th>Autres groupes</th>
13</tr>
14<tr>
15<td valign="TOP">
16[% FOREACH g = user.get_c_field('memberOf') %]
17<form action="[% c.uri_for(username, subform) %]" method="POST">
18<input type="hidden" name="delgroup" value="[% g | html %]">
19<input type="image" src="[% c.uri_for('/static', 'icons', 'user-group-delete.png') %]" width="24" height="24">
20[% g | html %]<br>
21</form>
22[% END %]
23</td>
24<td valign="TOP">
25[% FOREACH g = othergroups %]
26<form action="[% c.uri_for(username, subform) %]" method="POST">
27<input type="hidden" name="addgroup" value="[% g | html %]">
28<input type="image" src="[% c.uri_for('/static', 'icons', 'user-group-new.png') %]" width="24" height="24">
29[% g | html %]
30</form>
31[% END %]
32</td>
33</tr>
34</table>
35
36</div>
37[% END %]
Note: See TracBrowser for help on using the repository browser.