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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-5 / +14 lines)
Lines 690-698 Link Here
690
690
691
                        <hr/>
691
                        <hr/>
692
692
693
                        [% biblio = biblioloop.0 %]
693
                        [% biblio_info = biblioloop.0 %]
694
                        <!-- ItemGroup level holds -->
694
                        <!-- ItemGroup level holds -->
695
                        [% IF Koha.Preference('EnableItemGroupHolds') && biblio.object.item_groups.count %]
695
                        [% IF Koha.Preference('EnableItemGroupHolds') && biblio_info.object.item_groups.count %]
696
                        <fieldset class="rows">
696
                        <fieldset class="rows">
697
                            <legend>
697
                            <legend>
698
                                <label for="requestgrp" class="inline">
698
                                <label for="requestgrp" class="inline">
Lines 740-746 Link Here
740
                                                </tr>
740
                                                </tr>
741
                                            </thead>
741
                                            </thead>
742
                                            <tbody>
742
                                            <tbody>
743
                                                [% FOREACH g IN biblio.object.item_groups.search({}, { order_by => ['display_order'] }) %]
743
                                                [% FOREACH g IN biblio_info.object.item_groups.search({}, { order_by => ['display_order'] }) %]
744
                                                    [% IF g.items.count %]
744
                                                    [% IF g.items.count %]
745
                                                        <tr>
745
                                                        <tr>
746
                                                            <td>
746
                                                            <td>
Lines 790-796 Link Here
790
                        [% END %]
790
                        [% END %]
791
                        <!-- /ItemGroup level holds -->
791
                        <!-- /ItemGroup level holds -->
792
792
793
794
                        <fieldset class="rows">
793
                        <fieldset class="rows">
795
                            <legend>
794
                            <legend>
796
                                <label for="requestspecificitem" class="inline">
795
                                <label for="requestspecificitem" class="inline">
Lines 1034-1039 Link Here
1034
                                            <a href="request.pl?biblionumber=[% biblio_info.biblionumber | uri %]&amp;borrowernumber=[% borrowernumber | uri %]&amp;showallitems=1">Show all items ([% hiddencount | html %] hidden)</a>
1033
                                            <a href="request.pl?biblionumber=[% biblio_info.biblionumber | uri %]&amp;borrowernumber=[% borrowernumber | uri %]&amp;showallitems=1">Show all items ([% hiddencount | html %] hidden)</a>
1035
                                        </p>
1034
                                        </p>
1036
                                [% END # /IF hiddencount %]
1035
                                [% END # /IF hiddencount %]
1036
                                <fieldset class="action">
1037
                                    [% IF ( patron.borrowernumber ) %]
1038
                                        [% IF ( override_required ) %]
1039
                                            <button type="submit" id="hold_item_btn" class="btn btn-primary warning"><i class="fa fa-exclamation-triangle "></i> Place hold</button>
1040
                                        [% ELSIF ( none_available ) %]
1041
                                            <button type="submit" id="hold_item_btn" disabled="disabled" class="btn btn-primary btn-disabled">Place hold</button>
1042
                                        [% ELSE %]
1043
                                            <button type="submit" id="hold_item_btn" class="btn btn-primary">Place hold</button>
1044
                                        [% END %]
1045
                                    [% END %]
1046
                                </fieldset>
1037
1047
1038
                            [% ELSE # /UNLESS multi_hold %]
1048
                            [% ELSE # /UNLESS multi_hold %]
1039
                                <fieldset class="rows">
1049
                                <fieldset class="rows">
1040
- 

Return to bug 30579