Ignore:
Timestamp:
10/30/15 15:24:33 (9 years ago)
Author:
nanardon
Message:

Replace current statistics by user's statistics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/root/html/includes/sidebar.tt

    r1363 r1438  
    2929    <li><a href="[% c.uri_for('/summary', 'departments') %]">Liste des départements</a></li> 
    3030 
    31     <li><a href="[% c.uri_for('/summary', 'rh') %]">Statistiques</a></li> 
     31    [% FOREACH stat = c.model('Accounts').db.list_objects('stat') %] 
     32    [% ostat = c.model('Accounts').db.get_object('stat', stat) %] 
     33    <li><a href="[% c.uri_for('/stat', stat) %]">[% ostat.get_attributes('description') || stat | html %]</a></li> 
     34    [% END %] 
     35 
    3236    </ul> 
    3337</li> 
Note: See TracChangeset for help on using the changeset viewer.