Bugzilla – Attachment 158369 Details for
Bug 34557
Add option to prevent loading a patron's checkouts on the SCO
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34557: (follow-up) Make link more like button in staff interface
Bug-34557-follow-up-Make-link-more-like-button-in-.patch (text/plain), 2.54 KB, created by
Nick Clemens (kidclamp)
on 2023-11-03 20:26:21 UTC
(
hide
)
Description:
Bug 34557: (follow-up) Make link more like button in staff interface
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-11-03 20:26:21 UTC
Size:
2.54 KB
patch
obsolete
>From 16cc9576b0e1802c5866902cdd5deca79657900b Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 18 Aug 2023 07:02:24 +0000 >Subject: [PATCH] Bug 34557: (follow-up) Make link more like button in staff > interface > >This patch adds Bootstrap button style to the link and changes the text >from "Load your checkouts" to "Show your checkouts." > >The patch adds an anchor to the link so that the browser jumps down the >page a bit making the checkouts more visible. > >The patch also corrects the includes for Font Awesome files. No icons >were loading because of incorrect asset links. > >To test, follow the previous patch's test plan, checking that the button >looks correctly styled and that the page reloads with the checkout form >at the top. > >Confirm that Font Awesome icons are loading throughout the page. > >Signed-off-by: AndrewA <andrew.auld@ptfs-europe.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 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 7544d4e740d..8990ce7969c 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 >@@ -302,7 +302,7 @@ > <li class="nav-item" role="presentation"> > <a class="nav-link" href="#holds-tab" id="holds" aria-controls="home" aria-selected="false" data-toggle="tab"> > [% IF waiting_holds_count %] >- <i class="fa fa-exclamation" aria-hidden="true"></i> >+ <i class="fa fa-exclamation-circle" aria-hidden="true"></i> > [% END %] > Holds ([% HOLDS.count | html %]) > </a> >@@ -422,7 +422,7 @@ > </tbody> > </table> > [% ELSE %] >- <a href="?load_checkouts=1">Load your checkouts</a> >+ <a class="btn btn-secondary" href="?load_checkouts=1#scan_form"><i class="fa fa-book" aria-hidden="true"></i> Show your checkouts</a> > [% END # / IF ( Koha.preference('SCOLoadCheckoutsByDefault') || load_checkouts ) %] > [% ELSE %] > <h3>You currently have nothing checked out.</h3> >-- >2.30.2
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 34557
:
154508
|
154544
|
154587
|
154590
|
154591
|
156570
|
156571
|
158368
|
158369
|
158370
|
158377
|
158378
|
158379