Ignore:
Timestamp:
08/23/12 09:33:59 (12 years ago)
Author:
nanardon
Message:
  • add desktop directory page to menu
Location:
trunk/LATMOS-Accounts-Web/root/html
Files:
2 edited

Legend:

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

    r1127 r1128  
    77</ul> 
    88 
     9<ul> 
     10<li><a href="[% c.uri_for('/summary', 'offices') %]">Annuaire par bureaux</a></li> 
     11</ul> 
    912 
    1013[% FOREACH h = c.model('Accounts').db.search_objects('accreq', 'exported=*') %] 
  • trunk/LATMOS-Accounts-Web/root/html/summary/offices/index.tt

    r1050 r1128  
     1<h2>Annuaire</h2> 
     2 
     3<a name="top"></a> 
    14[% FOREACH site = office.keys.sort %] 
     5[% "<ul>" IF loop.first %] 
     6<li><a href="#[% site | html %]">[% site | html %]</a></li> 
     7[% "</ul>" IF loop.last %] 
     8[% END %] 
     9[% FOREACH site = office.keys.sort %] 
     10 
     11<h3><a name="[% site | html %]">[% site | html %]</a><a href="#top">↑</a></h3> 
     12 
     13[% FOREACH off = office.$site.keys.sort %] 
    214    [% IF loop.first %] 
    315    <table border=1> 
    416    [% END %] 
    5  
    6 <tr><th colspan=2>[% site %]</th></tr> 
    7  
    8 [% FOREACH off = office.$site.keys.sort %] 
    917<tr> 
    1018<th>[% off %]</th> 
     
    1220 
    1321[% FOREACH add = office.$site.$off  %] 
     22[% "<ul>" IF loop.first %] 
    1423 
     24<li> 
    1525[% "<b>" IF add.get_attributes('isMainAddress') %] 
    1626<a href="[% c.uri_for('/users', add.get_attributes('user'), 'address', add.id) %]"> 
     
    2030 
    2131[% add.get_attributes('telephoneNumber') | html %] 
    22 <br> 
     32</li> 
    2333 
     34[% "</ul>" IF loop.last %] 
    2435[% END %] 
    2536</td> 
    2637</tr> 
    27 [% END %] 
    28  
    2938    [% IF loop.last %] 
    3039    </table> 
    3140    [% END %] 
    3241[% END %] 
     42 
     43[% END %] 
Note: See TracChangeset for help on using the changeset viewer.