source: LATMOS-Accounts-Web/root/html/users/menu.tt @ 730

Last change on this file since 730 was 730, checked in by nanardon, 14 years ago
  • use another icons when user is locked or not propagated
  • Property svn:keywords set to Id Rev
File size: 1.3 KB
Line 
1<!-- $Id$ -->
2<div id="omenu">
3
4[% INCLUDE 'includes/obj_prev_next.tt' objtype='user' objname=username %]
5
6<table border="0">
7<tr><td>
8[% IF NOT user.get_c_field('exported') OR user.get_c_field('locked') %]
9<img src="[% c.uri_for('/static', 'icons', 'view-media-artist.png') %]"
10[% ELSE %]
11<img src="[% c.uri_for('/static', 'icons', 'user-properties.png') %]"
12[% END %]
13alt="[% "User " _ username %]">
14</td>
15<td>  
16[% username | html %]<br>
17[% user.get_c_field('displayName') | html %]
18</td>
19</tr>
20</table>
21<div style="clear: both;"></div>
22        <a href="[% c.uri_for(username) %]"><span [% 'id="oactive"' IF subform == '' %]>SystÚme</span></a>
23        <a href="[% c.uri_for(username, 'status') %]"><span [% 'id="oactive"' IF subform == 'status' %]>Status</span></a>
24        <a href="[% c.uri_for(username, 'groups') %]"><span [% 'id="oactive"' IF subform == 'groups' %]>Groupes</span></a>
25        <a href="[% c.uri_for(username, 'address') %]"><span [% 'id="oactive"' IF subform == 'address' %]>Adresses</span></a>
26        <a href="[% c.uri_for(username, 'mail') %]"><span [% 'id="oactive"' IF subform == 'mail' %]>eMail</span></a>
27[% IF c.model('Accounts').db.check_acl(user, 'userPasswd', 'r') %]
28        <a href="[% c.uri_for(username, 'passwd') %]"><span [% 'id="oactive"' IF subform == 'passwd' %]>Mot de passe</span></a>
29[% END %]
30</div>
Note: See TracBrowser for help on using the repository browser.