source: trunk/LATMOS-Accounts-Web/root/html/summary/offices/index.tt @ 1050

Last change on this file since 1050 was 1050, checked in by nanardon, 12 years ago
  • add /summary/offices page
File size: 641 bytes
Line 
1[% FOREACH site = office.keys.sort %]
2    [% IF loop.first %]
3    <table border=1>
4    [% END %]
5
6<tr><th colspan=2>[% site %]</th></tr>
7
8[% FOREACH off = office.$site.keys.sort %]
9<tr>
10<th>[% off %]</th>
11<td>
12
13[% FOREACH add = office.$site.$off  %]
14
15[% "<b>" IF add.get_attributes('isMainAddress') %]
16<a href="[% c.uri_for('/users', add.get_attributes('user'), 'address', add.id) %]">
17[% add.get_attributes('displayName') | html %]
18</a>
19[% "</b>" IF add.get_attributes('isMainAddress') %]
20
21[% add.get_attributes('telephoneNumber') | html %]
22<br>
23
24[% END %]
25</td>
26</tr>
27[% END %]
28
29    [% IF loop.last %]
30    </table>
31    [% END %]
32[% END %]
Note: See TracBrowser for help on using the repository browser.