Bugzilla – Attachment 110420 Details for
Bug 26478
Display issue with buttons on the self checkout screens
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26478: Display issue with buttons on the self checkout screens
Bug-26478-Display-issue-with-buttons-on-the-self-c.patch (text/plain), 4.37 KB, created by
Katrin Fischer
on 2020-09-20 16:30:09 UTC
(
hide
)
Description:
Bug 26478: Display issue with buttons on the self checkout screens
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-09-20 16:30:09 UTC
Size:
4.37 KB
patch
obsolete
>From 1e697faa64a3be5f92f4855a9fb5003ee2e4d6bb Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/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 @@ > <input type="hidden" name="patronid" value="[% patronid | html %]" /> > <input type="hidden" name="barcode" value="[% barcode | html %]" /> > <input type="hidden" name="newissues" value="[% newissues | html %]" /> >- <input type="submit" name= "confirm" value="Return to account summary" class="btn back focus" /> >+ <input type="submit" name= "confirm" value="Return to account summary" class="btn btn-info back focus" /> > </form> > </div> <!-- / .alert --> > [% END # / IF ( impossible %] >@@ -330,9 +330,9 @@ > <input type="hidden" name="op" value="renew" /> > <input type="hidden" name="confirmed" value="1" /> > [% UNLESS ( ISSUE.renew ) %] >- <input type="submit" value="Renew item" name="confirm " class="btn renew" /> >+ <input type="submit" value="Renew item" name="confirm " class="btn btn-primary btn-sm renew" /> > [% ELSE %] >- <input type="submit" value="Renew item" class="btn renew" /> >+ <input type="submit" value="Renew item" class="btn btn-primary btn-sm renew" /> > [% END %] > [% ELSE %] > [% IF ISSUE.renew_error == 'auto_renew' OR ISSUE.renew_error == 'auto_too_soon' %] >@@ -343,7 +343,7 @@ > <span>No renewals allowed</span> > [% END %] > [% IF Koha.Preference('SCOAllowCheckin') %] >- <input type="submit" value="Check in item" name="confirm" class="btn return" /> >+ <input type="submit" value="Check in item" name="confirm" class="btn btn-info btn-sm return" /> > <input type="hidden" name="op" value="returnbook" /> > <input type="hidden" name="confirmed" value="" /> > [% END %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26478
:
110257
|
110417
| 110420