@@ -, +, @@ - Add some items to a cart in the OPAC. - Open the cart and confirm that the toolbar sticks to the top of the window as you scroll down. - Confirm that it works in the "More details" view. - Confirm that other JavaScript-based operations are not affected: table sorting and all the various toolbar buttons. --- .../opac-tmpl/bootstrap/css/src/_responsive.scss | 2 +- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 5 -- .../opac-tmpl/bootstrap/en/modules/opac-basket.tt | 99 ++++++++++++---------- 3 files changed, 55 insertions(+), 51 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss +++ a/koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss @@ -558,4 +558,4 @@ .userlabel { display: none; } -} +} --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -108,11 +108,6 @@ a { vertical-align: middle; } - &.brief { - - padding-left: 27px; - } - &.addtocart { padding-right: 0; } --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt @@ -17,51 +17,53 @@

Your cart

-
- [% IF ( verbose ) %] - Brief display - [% ELSE %] - More details - [% END %] - [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] - Send - [% END %] - Download - Empty and close - Hide window - [% IF ( verbose ) %] - Print - [% END %] -
- -
- Select all - Clear all - | - - Select titles to: - Remove - [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %] - [% IF ( ( Koha.Preference( 'virtualshelves' ) == 1 ) && loggedinusername ) %] - Add to a list - [% END %] - [% IF ( Koha.Preference( 'RequestOnOpac' ) == 1 ) %] - Place hold - [% END %] - [% IF ( TagsInputEnabled && loggedinusername ) %] - Tag - [% END %] - [% END # / IF opacuserlogin %] - - [% IF ( TagsInputEnabled && loggedinusername ) %] - - [% END %] -
+
+
+ [% IF ( verbose ) %] + Brief display + [% ELSE %] + More details + [% END %] + [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] + Send + [% END %] + Download + Empty and close + Hide window + [% IF ( verbose ) %] + Print + [% END %] +
+ +
+ Select all + Clear all + | + + Select titles to: + Remove + [% IF ( Koha.Preference( 'opacuserlogin' ) == 1 ) %] + [% IF ( ( Koha.Preference( 'virtualshelves' ) == 1 ) && loggedinusername ) %] + Add to a list + [% END %] + [% IF ( Koha.Preference( 'RequestOnOpac' ) == 1 ) %] + Place hold + [% END %] + [% IF ( TagsInputEnabled && loggedinusername ) %] + Tag + [% END %] + [% END # / IF opacuserlogin %] + + [% IF ( TagsInputEnabled && loggedinusername ) %] + + [% END %] +
+
[% IF ( verbose ) %]
@@ -304,6 +306,7 @@ [% BLOCK jsinclude %] [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] + [% Asset.js("lib/hc-sticky.js") | $raw %] [% INCLUDE 'datatables.inc' %]