From 2af1b90465069eb921c0ac19d1ffe0ac0a051953 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 29 Jun 2020 15:08:47 +0000 Subject: [PATCH] Bug 25827: Add floating toolbar to the holds summary page in staff interface This patch adds a floating toolbar to the holds summar page in the staff interface. To test, apply the patch and view the holds page for a title with multiple holds on it. Test that when you scroll down past the position of the "Update hold(s)" button, the toolbar "sticks" to the top of the screen. Test that holds are updated correctly after clicking the "Update hold(s)" button. --- .../intranet-tmpl/prog/en/modules/reserve/request.tt | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 1795eed1c0..563c245900 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -789,12 +789,15 @@ [% UNLESS ( patron ) %] [% IF ( reserveloop ) %] -
+ [% IF ( multi_hold ) %] [% END %]

Existing holds

+
+ +
[% FOREACH biblioloo IN biblioloop %] [% IF ( biblioloo.reserveloop ) %] @@ -902,10 +905,6 @@ [% END # /IF biblioloo.reserveloop %] [% END # FOREACH biblioloo %] - -
- -
[% END # IF reserveloop %] [% END # UNLESS patron %] @@ -929,6 +928,7 @@ [% INCLUDE 'datatables.inc' %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'columns_settings.inc' %] + [% Asset.js("lib/hc-sticky.js") | $raw %] [% Asset.js("js/circ-patron-search-results.js") | $raw %] [% END %] -- 2.11.0