Bug 22521: Update UI to use accountlines.status
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / authorities.inc
1 [% BLOCK showhierarchy %]
2     [% FOREACH tree IN trees %]
3         [% PROCESS showtree tree = tree %]
4     [% END %]
5 [% END %]
6 [% BLOCK showtree %]
7     <ul class="hierarchy">
8         [% FOREACH node IN tree %]
9             <li id="hier[% node.authid | html %]" class="[% node.class | html %] authnode">
10             [% IF ( node.current_value ) %]
11                 <span class='currentauth'>[% node.value | html %]</span>
12             [% ELSE %]
13                 <a href="detail.pl?authid=[% node.authid | uri %]" title="Term">[% node.value | html %]</a>
14             [% END %]
15             [% IF ( node.children && node.children.size > 0 ) %]
16                 [% PROCESS showtree tree = node.children %]
17             [% END %]
18             </li>
19         [% END %]
20     </ul>
21 [% END %]