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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt (-3 / +10 lines)
Lines 3-10 Link Here
3
[% USE TablesSettings %]
3
[% USE TablesSettings %]
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% BLOCK pagelist %]
5
[% BLOCK pagelist %]
6
    [% IF module.keys and module.keys.size > 0 %]
6
    [% IF module.keys and module.keys.size > 1 %]
7
        <span>Jump to:</span>
7
        <span>Jump to page:</span>
8
        [% FOR pagename IN module.keys.sort %]
8
        [% FOR pagename IN module.keys.sort %]
9
            <a href="#[% pagename | url %]">[% pagename | html %]</a>
9
            <a href="#[% pagename | url %]">[% pagename | html %]</a>
10
            [% UNLESS loop.last %]<span class="separator"> | </span>[% END %]
10
            [% UNLESS loop.last %]<span class="separator"> | </span>[% END %]
Lines 18-23 Link Here
18
                [% FOR pagename IN module.keys.sort %]
18
                [% FOR pagename IN module.keys.sort %]
19
                    <h4 class="page_name" id="[% pagename | html %]">Page: [% pagename | html %]</h4>
19
                    <h4 class="page_name" id="[% pagename | html %]">Page: [% pagename | html %]</h4>
20
                    [% SET tables = module %]
20
                    [% SET tables = module %]
21
                    [% IF tables.$pagename.keys and tables.$pagename.keys.size > 1 %]
22
                        Jump to table:
23
                        [% FOR tablename IN tables.$pagename.keys.sort %]
24
                            [% SET table_id = pagename _ '#' _ tablename %]
25
                            <a href="#[% table_id | uri %]">[% tablename | html %]</a>
26
                            [% UNLESS loop.last %]<span class="separator"> | </span>[% END %]
27
                        [% END %]
28
                    [% END %]
21
                    [% IF tables.$pagename.keys and tables.$pagename.keys.size > 0 %]
29
                    [% IF tables.$pagename.keys and tables.$pagename.keys.size > 0 %]
22
                        [% FOR tablename IN tables.$pagename.keys.sort %]
30
                        [% FOR tablename IN tables.$pagename.keys.sort %]
23
                            [% SET table_id = pagename _ '#' _ tablename %]
31
                            [% SET table_id = pagename _ '#' _ tablename %]
24
- 

Return to bug 34124