From 168b7b6b1b73069d4c8d63b64eabc72059d794ba Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 11 Jun 2019 16:46:27 +0000 Subject: [PATCH] Bug 23096: Add floating toolbar to OPAC lists This patch makes the list contents table's toolbar "stick" to the top of the screen when scrolling. Minor markup changes have been made to enable this change. To test, apply the patch and open a list in the OPAC which has multiple titles on it. Confirm that the toolbar sticks to the top of the screen when you scroll down. Signed-off-by: Mark Tompsett --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt index b837bcd8ff..8a02c31feb 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt @@ -159,6 +159,7 @@ [% IF ( itemsloop ) %] +
New list | @@ -282,6 +283,7 @@ [% END %]
+
[% IF can_manage_shelf %] @@ -764,6 +766,7 @@ [% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] +[% Asset.js("lib/hc-sticky.js") | $raw %]