From 01ab775440ee8418e21872c309acee7b1739fad8 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 summary 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. Signed-off-by: Emmi Takkinen Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../prog/en/modules/reserve/request.tt | 17 +++++++++++------ 1 file changed, 11 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 3ced96e06a..e15d468fcc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -793,12 +793,15 @@ [% UNLESS ( patron ) %] [% IF ( reserveloop ) %] -
+ [% IF ( multi_hold ) %] [% END %]

Existing holds

+
+ +
[% FOREACH biblioloo IN biblioloop %] [% IF ( biblioloo.reserveloop ) %] @@ -906,10 +909,6 @@ [% END # /IF biblioloo.reserveloop %] [% END # FOREACH biblioloo %] - -
- -
[% END # IF reserveloop %] [% END # UNLESS patron %] @@ -933,8 +932,10 @@ [% 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.39.5