Line | |
---|
1 | <h2>Annuaire</h2> |
---|
2 | |
---|
3 | <a name="top"></a> |
---|
4 | [% FOREACH site = office.keys.sort %] |
---|
5 | [% "<ul>" IF loop.first %] |
---|
6 | <li><a href="#[% site | html %]">[% sites.$site.description.0 || site | html %]</a></li> |
---|
7 | [% "</ul>" IF loop.last %] |
---|
8 | [% END %] |
---|
9 | [% FOREACH site = office.keys.sort %] |
---|
10 | [% s = office.$site.site %] |
---|
11 | |
---|
12 | <h3><a name="[% site | html %]">[% sites.$site.description.0 || site | html %]</a><a href="#top">â</a></h3> |
---|
13 | |
---|
14 | [% FOREACH off = office.$site.keys.sort %] |
---|
15 | [% IF loop.first %] |
---|
16 | <table border=1> |
---|
17 | [% END %] |
---|
18 | <tr> |
---|
19 | <th>[% off %]</th> |
---|
20 | <td> |
---|
21 | |
---|
22 | [% FOREACH add = office.$site.$off %] |
---|
23 | [% "<ul>" IF loop.first %] |
---|
24 | |
---|
25 | <li> |
---|
26 | [% "<b>" IF add.isMainAddress %] |
---|
27 | <a href="[% c.uri_for('/users', add.user, 'address', add.id) %]"> |
---|
28 | [% add.displayName | html %] |
---|
29 | </a> |
---|
30 | [% "</b>" IF add.isMainAddress %] |
---|
31 | |
---|
32 | [% add.phone | html %] |
---|
33 | </li> |
---|
34 | |
---|
35 | [% "</ul>" IF loop.last %] |
---|
36 | [% END %] |
---|
37 | </td> |
---|
38 | </tr> |
---|
39 | [% IF loop.last %] |
---|
40 | </table> |
---|
41 | [% END %] |
---|
42 | [% END %] |
---|
43 | |
---|
44 | [% END %] |
---|
Note: See
TracBrowser
for help on using the repository browser.