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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-5 / +14 lines)
Lines 654-660 Link Here
654
                        [% IF too_many_items %]
654
                        [% IF too_many_items %]
655
                            <p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]&amp;viewallitems=1">Click here to view them all.</a></p>
655
                            <p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]&amp;viewallitems=1">Click here to view them all.</a></p>
656
                        [% ELSIF ( itemloop.size ) %]
656
                        [% ELSIF ( itemloop.size ) %]
657
                            [% INCLUDE items_table items=itemloop tab="holdings" %]
657
                            [% INCLUDE items_table items=itemloop tab="holdings" table_id="holdingst" %]
658
                            [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
658
                            [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %]
659
                              [% IF acquisition_details.total_quantity == 1 %]
659
                              [% IF acquisition_details.total_quantity == 1 %]
660
                                <span>1 item is on order.</span>
660
                                <span>1 item is on order.</span>
Lines 701-707 Link Here
701
                    [% IF (SeparateHoldings) %]
701
                    [% IF (SeparateHoldings) %]
702
                        <div id="otherholdings">
702
                        <div id="otherholdings">
703
                            [% IF (otheritemloop.size) %]
703
                            [% IF (otheritemloop.size) %]
704
                                [% INCLUDE items_table items=otheritemloop tab="otherholdings" %]
704
                                [% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %]
705
                            [% ELSE %]
705
                            [% ELSE %]
706
                                <span>No other items.</span>
706
                                <span>No other items.</span>
707
                            [% END %]
707
                            [% END %]
Lines 1177-1183 Link Here
1177
[%# End of template %]
1177
[%# End of template %]
1178
1178
1179
[% BLOCK items_table %]
1179
[% BLOCK items_table %]
1180
    <table class="holdingst table table-bordered table-striped">
1180
    <table class="table table-bordered table-striped" id="[% table_id %]">
1181
        <thead>
1181
        <thead>
1182
            <tr>
1182
            <tr>
1183
        [% IF ( item_level_itypes ) %]
1183
        [% IF ( item_level_itypes ) %]
Lines 1437-1443 Link Here
1437
        });
1437
        });
1438
1438
1439
        var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) %];
1439
        var columns_settings = [% ColumnsSettings.GetColumns( 'opac', 'biblio-detail', 'holdingst', 'json' ) %];
1440
        KohaTable(".holdingst", {
1440
1441
        KohaTable("#holdingst", {
1442
            dom: 'B<"clearfix">t',
1443
            "columnDefs": [
1444
                { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
1445
                { "sType": "title-string", "aTargets" : [ "title-string" ] }
1446
                ],
1447
            "bKohaColumnsUseNames": true
1448
        }, columns_settings);
1449
1450
        KohaTable("#otherholdingst", {
1441
            dom: 'B<"clearfix">t',
1451
            dom: 'B<"clearfix">t',
1442
            "columnDefs": [
1452
            "columnDefs": [
1443
                { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
1453
                { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
1444
- 

Return to bug 16759