From: Owen Leonard Date: Tue, 11 Jun 2019 16:46:27 +0000 (+0000) Subject: Bug 23096: Add floating toolbar to OPAC lists X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=7bc7cd4676632c835a16341191e07a5e7e13054a 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 Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- 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 b837bcd..8a02c31 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 %]