From e8522d8231ad096f4cc25b2a7aee8466d03c5bc2 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 17 Sep 2020 10:53:20 +0000 Subject: [PATCH] Bug 26478: Display issue with buttons on the self checkout screens This patch adds missing Bootstrap classes to a few buttons on the self checkout page. Without the classes the buttons are not styled correctly. To test, apply the patch and open the self checkout page for a patron with multiple checkouts, some renewable and some non-renewable. In the table of the user's checkouts the "Renew item" button should be styled as a green button. The "Check in item" button should be styled as a blue button. Try to check out an item which cannot be circulated. On the page warning you "Item cannot be checked out," the "Return to account summary" button should be styled as a blue button. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 1becf82106..6a48b2bda9 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 @@ -1,4 +1,4 @@ -[% USE raw %] + [% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] @@ -102,7 +102,7 @@ - + [% END # / IF ( impossible %] @@ -330,9 +330,9 @@ [% UNLESS ( ISSUE.renew ) %] - + [% ELSE %] - + [% END %] [% ELSE %] [% IF ISSUE.renew_error == 'auto_renew' OR ISSUE.renew_error == 'auto_too_soon' %] @@ -343,7 +343,7 @@ No renewals allowed [% END %] [% IF Koha.Preference('SCOAllowCheckin') %] - + [% END %] -- 2.39.5