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.