From 1eab6fce3cefcef25ceefd89f5cae53a7c29fc6f Mon Sep 17 00:00:00 2001 From: David Cook Date: Fri, 16 Jan 2026 04:03:41 +0000 Subject: [PATCH] Bug 41645: Make self-checkout use responsive CSS This change makes the responsive CSS work with self-checkout. This changes also includes a few minor HTML changes to make the display look good both on large and small screens. Test plan: 0. Apply the patch 1. Go to http://localhost:8080/cgi-bin/koha/sco/sco-main.pl 2. Log in as the koha user 3. Check out barcodes 39999000004571 and 39999000001310 4. In an incognito window, add holds and charges for the koha user 5. Go back to http://localhost:8080/cgi-bin/koha/sco/sco-main.pl and log in as the koha user 6. Using your F12 dev tools, look at the interface with different widths 7. Note that the datatables have a responsive design which looks good on a mobile view 8. Note that the page stays contained to the small screen size and you don't have to scroll horizontally to see all the content --- .../bootstrap/en/modules/sco/sco-main.tt | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt index ad3dc1ab1bf..5dd26065ce6 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt @@ -14,6 +14,7 @@ + [% IF ( Koha.Preference('OpacFavicon') ) %] [% ELSE %] @@ -94,21 +95,23 @@ [% END %] -
+
-
+
+
+
[% IF batch_checkouts_allowed %] [% ELSE %] [% END %]
-
+
+
+
-
-
@@ -180,9 +183,9 @@ Title Call number Due - Renew + Renew [% IF Koha.Preference('SCOAllowCheckin') %] - Check in + Check in [% END %] [% UNLESS ( nofines ) %] Fines -- 2.39.5