View | Details | Raw Unified | Return to bug 37226
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities.inc (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Math %]
1
[% BLOCK showhierarchy %]
2
[% BLOCK showhierarchy %]
2
    [% FOREACH tree IN trees %]
3
    [% FOREACH tree IN trees %]
3
        [% PROCESS showtree tree = tree %]
4
        [% PROCESS showtree tree = tree %]
Lines 6-12 Link Here
6
[% BLOCK showtree %]
7
[% BLOCK showtree %]
7
    <ul class="hierarchy">
8
    <ul class="hierarchy">
8
        [% FOREACH node IN tree %]
9
        [% FOREACH node IN tree %]
9
            <li id="hier[% node.authid | html %]" class="[% node.class | html %] authnode">
10
            <li id="hier[% node.authid | html %]_[% Math.rand( 1 ).remove( '\.' ) | html %]" class="[% node.class | html %] authnode">
10
            [% IF ( node.current_value ) %]
11
            [% IF ( node.current_value ) %]
11
                <span class='currentauth'>[% node.value | html %]</span>
12
                <span class='currentauth'>[% node.value | html %]</span>
12
            [% ELSE %]
13
            [% ELSE %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-authorities.inc (-2 / +2 lines)
Lines 1-3 Link Here
1
[% USE Math %]
1
[% BLOCK showhierarchy %]
2
[% BLOCK showhierarchy %]
2
    [% FOREACH tree IN trees %]
3
    [% FOREACH tree IN trees %]
3
        [% PROCESS showtree tree = tree marc = marc %]
4
        [% PROCESS showtree tree = tree marc = marc %]
Lines 7-13 Link Here
7
[% BLOCK showtree %]
8
[% BLOCK showtree %]
8
    <ul class="hierarchy">
9
    <ul class="hierarchy">
9
        [% FOREACH node IN tree %]
10
        [% FOREACH node IN tree %]
10
            <li id="hier[% node.authid | html %]" class="[% node.class | html %] authnode">
11
            <li id="hier[% node.authid | html %]_[% Math.rand( 1 ).remove( '\.' ) | html %]" class="[% node.class | html %] authnode">
11
            [% IF ( node.current_value ) %]
12
            [% IF ( node.current_value ) %]
12
                <span class="currentauth">[% node.value | html %]</span>
13
                <span class="currentauth">[% node.value | html %]</span>
13
            [% ELSE %]
14
            [% ELSE %]
14
- 

Return to bug 37226