From 78d1233238ef1cbe540c26fec334e5872d080ce4 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 Signed-off-by: David Nind Signed-off-by: Baptiste Wojtkowski Signed-off-by: Lucas Gass (cherry picked from commit 9b2f2fcf6ff578498906e1e8bde5108e89fe5f52) Signed-off-by: Jacob O'Mara --- .../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 4de47720be..9932bab0af 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