source: tags/5.2.29/LATMOS-Accounts-Web/root/html/oaliases/index.tt @ 2150

Last change on this file since 2150 was 1865, checked in by nanardon, 8 years ago

Merge branch

File size: 785 bytes
Line 
1[% FOREACH otype = c.model('Accounts').db.list_supported_objects %]
2
3[% FOREACH object = c.model('Accounts').db.search_objects(otype, 'oalias=*') %]
4[% aobject = c.model('Accounts').db.GetAlias(otype, object) %]
5[% oobject = c.model('Accounts').db.get_object(otype, object) %]
6[% IF loop.first %]
7<h3>[% otype %]</h3>
8<ul>
9[% END %]
10
11<li>
12[% IF aobject.get_attributes('unexported') %]
13<img src="[% c.uri_for('/static', 'images', 'gtk-delete.png') %]"
14class="notice" title="Cet alias est désactivé" alt="disable">
15[% END %]
16<a href=[% c.uri_for('/oaliases', otype, object) %]>[% object | html %]</a>
17&#10137;
18[% aobject.get_attributes('oalias') | html %]
19([% INCLUDE object_flag object = oobject %][% oobject | html %] )
20</li>
21
22[% IF loop.last %]
23</ul>
24[% END %]
25[% END %]
26
27[% END %]
Note: See TracBrowser for help on using the repository browser.