From 5d27f8d86a7b2cbb24d9a120c3e6625fbe65e4d5 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 --- .../intranet-tmpl/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 1795eed1c0..50b95faef0 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,8 +928,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.11.0