source: tags/5.1.13/LATMOS-Accounts-Web/root/html/stat/index.tt @ 1723

Last change on this file since 1723 was 1474, checked in by nanardon, 9 years ago

Stat: the display attribute show stat in menu

File size: 377 bytes
Line 
1[% FOREACH stat = c.model('Accounts').db.search_objects( 'stat', 'exported=true' ).sort %]
2    [% IF loop.first %]
3    <ul>
4    [% END %]
5    [% ostat = c.model('Accounts').db.get_object('stat', stat) %]
6    <li><a href="[% c.uri_for('/stat', stat) %]">[% ostat.get_attributes('description') || stat | html %]</a></li>
7    [% IF loop.last %]
8    </ul>
9    [% END %]
10[% END %]
11
Note: See TracBrowser for help on using the repository browser.