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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-7 / +11 lines)
Lines 789-800 Link Here
789
789
790
            [% UNLESS ( patron ) %]
790
            [% UNLESS ( patron ) %]
791
                [% IF ( reserveloop ) %]
791
                [% IF ( reserveloop ) %]
792
                    <form name="T[% time | html %]" action="modrequest.pl" method="post">
792
                    <form id="existing_holds" name="T[% time | html %]" action="modrequest.pl" method="post" style="display:block">
793
                        [% IF ( multi_hold ) %]
793
                        [% IF ( multi_hold ) %]
794
                            <input type = "hidden" name="biblionumbers" value="[% biblionumbers | html %]"/>
794
                            <input type = "hidden" name="biblionumbers" value="[% biblionumbers | html %]"/>
795
                        [% END %]
795
                        [% END %]
796
796
797
                        <h2>Existing holds</h2>
797
                        <h2>Existing holds</h2>
798
                        <div id="toolbar" class="btn-toolbar">
799
                            <input type="submit" name="submit" value="Update hold(s)" />
800
                        </div>
798
801
799
                        [% FOREACH biblioloo IN biblioloop %]
802
                        [% FOREACH biblioloo IN biblioloop %]
800
                            [% IF ( biblioloo.reserveloop ) %]
803
                            [% IF ( biblioloo.reserveloop ) %]
Lines 902-911 Link Here
902
905
903
                            [% END # /IF biblioloo.reserveloop %]
906
                            [% END # /IF biblioloo.reserveloop %]
904
                        [% END # FOREACH biblioloo %]
907
                        [% END # FOREACH biblioloo %]
905
906
                        <fieldset class="action">
907
                            <input type="submit" name="submit" value="Update hold(s)" />
908
                        </fieldset>
909
                    </form> <!-- /name=TTime -->
908
                    </form> <!-- /name=TTime -->
910
                [% END # IF reserveloop %]
909
                [% END # IF reserveloop %]
911
            [% END # UNLESS patron %]
910
            [% END # UNLESS patron %]
Lines 929-936 Link Here
929
    [% INCLUDE 'datatables.inc' %]
928
    [% INCLUDE 'datatables.inc' %]
930
    [% INCLUDE 'calendar.inc' %]
929
    [% INCLUDE 'calendar.inc' %]
931
    [% INCLUDE 'columns_settings.inc' %]
930
    [% INCLUDE 'columns_settings.inc' %]
931
    [% Asset.js("lib/hc-sticky.js") | $raw %]
932
    [% Asset.js("js/circ-patron-search-results.js") | $raw %]
932
    [% Asset.js("js/circ-patron-search-results.js") | $raw %]
933
    <script>
933
    <script>
934
        var Sticky;
934
        var biblionumber = "[% biblionumber | $raw %]";
935
        var biblionumber = "[% biblionumber | $raw %]";
935
        var borrowernumber = "[% patron.borrowernumber | $raw %]";
936
        var borrowernumber = "[% patron.borrowernumber | $raw %]";
936
        var MSG_CONFIRM_DELETE_HOLD   = _("Are you sure you want to cancel this hold?");
937
        var MSG_CONFIRM_DELETE_HOLD   = _("Are you sure you want to cancel this hold?");
Lines 1245-1251 Link Here
1245
                };
1246
                };
1246
                [% END %]
1247
                [% END %]
1247
            [% END %]
1248
            [% END %]
1248
1249
            Sticky = $("#toolbar");
1250
            Sticky.hcSticky({
1251
                stickTo: "#existing_holds",
1252
                stickyClass: "floating"
1253
            });
1249
        });
1254
        });
1250
    </script>
1255
    </script>
1251
[% END %]
1256
[% END %]
1252
- 

Return to bug 25827