Ignore:
Timestamp:
02/01/16 15:01:00 (8 years ago)
Author:
nanardon
Message:

speedup office web page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/root/html/summary/offices/index.tt

    r1128 r1694  
    44[% FOREACH site = office.keys.sort %] 
    55[% "<ul>" IF loop.first %] 
    6 <li><a href="#[% site | html %]">[% site | html %]</a></li> 
     6<li><a href="#[% site | html %]">[% sites.$site.description.0 || site | html %]</a></li> 
    77[% "</ul>" IF loop.last %] 
    88[% END %] 
    99[% FOREACH site = office.keys.sort %] 
     10[% s = office.$site.site %] 
    1011 
    11 <h3><a name="[% site | html %]">[% site | html %]</a><a href="#top">↑</a></h3> 
     12<h3><a name="[% site | html %]">[% sites.$site.description.0 || site | html %]</a><a href="#top">↑</a></h3> 
    1213 
    1314[% FOREACH off = office.$site.keys.sort %] 
     
    2324 
    2425<li> 
    25 [% "<b>" IF add.get_attributes('isMainAddress') %] 
    26 <a href="[% c.uri_for('/users', add.get_attributes('user'), 'address', add.id) %]"> 
    27 [% add.get_attributes('displayName') | html %] 
     26[% "<b>" IF add.isMainAddress %] 
     27<a href="[% c.uri_for('/users', add.user, 'address', add.id) %]"> 
     28[% add.displayName | html %] 
    2829</a> 
    29 [% "</b>" IF add.get_attributes('isMainAddress') %] 
     30[% "</b>" IF add.isMainAddress %] 
    3031 
    31 [% add.get_attributes('telephoneNumber') | html %] 
     32[% add.phone | html %] 
    3233</li> 
    3334 
Note: See TracChangeset for help on using the changeset viewer.