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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-8 / +6 lines)
Lines 517-523 Link Here
517
                        [% ELSE %]
517
                        [% ELSE %]
518
                            <li id="tab_holdings">
518
                            <li id="tab_holdings">
519
                        [% END %]
519
                        [% END %]
520
                            <a href="#holdings">[% IF SeparateHoldings %][% LoginBranchname %] holdings[% ELSE %]Holdings[% END %] ( [% itemloop.size || 0 %] )</a>
520
                            <a href="#holdings">[% IF SeparateHoldings %][% LoginBranchname %] holdings[% ELSE %]Holdings[% END %] [% UNLESS too_many_items %] ( [% itemloop.size || 0 %] )[% END %]</a>
521
                        </li>
521
                        </li>
522
                        [% IF (SeparateHoldings) %]
522
                        [% IF (SeparateHoldings) %]
523
                            <li><a href="#otherholdings">Other holdings ( [% otheritemloop.size || 0 %] )</a></li>
523
                            <li><a href="#otherholdings">Other holdings ( [% otheritemloop.size || 0 %] )</a></li>
Lines 618-629 Link Here
618
618
619
619
620
                    <div id="holdings">
620
                    <div id="holdings">
621
                        [% IF ( itemloop.size ) %]
621
                        [% IF too_many_items %]
622
                            [% IF ( lotsofitems ) %]
622
                            <p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&amp;viewallitems=1">Click here to view them all.</a></p>
623
                                <p>This record has many physical items. <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&amp;viewallitems=1#holdings">Click here to view them all.</a></p>
623
                        [% ELSIF ( itemloop.size ) %]
624
                            [% ELSE %]
624
                            [% INCLUDE items_table items=itemloop tab="holdings" %]
625
                                [% INCLUDE items_table items=itemloop tab="holdings" %]
625
626
                            [% END %]
627
                            [% IF holds_count.defined || priority %]
626
                            [% IF holds_count.defined || priority %]
628
                                <div id="bib_holds">
627
                                <div id="bib_holds">
629
                                    [% IF holds_count.defined %]
628
                                    [% IF holds_count.defined %]
630
- 

Return to bug 11256