Bugzilla – Attachment 53300 Details for
Bug 16900
Hold suspend button incorrectly styled in patron holds list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16900 - Hold suspend button incorrectly styled in patron holds list
0001-Bug-16900-Hold-suspend-button-incorrectly-styled-in-.patch (text/plain), 2.33 KB, created by
Arslan Farooq
on 2016-07-12 05:42:06 UTC
(
hide
)
Description:
Bug 16900 - Hold suspend button incorrectly styled in patron holds list
Filename:
MIME Type:
Creator:
Arslan Farooq
Created:
2016-07-12 05:42:06 UTC
Size:
2.33 KB
patch
obsolete
>From 34ef2dc7b2b186bb0c9a2b53a5b9bc53a1c0a873 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 11 Jul 2016 15:03:37 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 16900 - Hold suspend button incorrectly > styled in patron holds list > >This patch updates the style of the suspend/resume button in the list of >holds displayed on the checkout page and on the patron detail page. The >button is now a Bootstrap-styled button with a Font Awesome icon. > >To test, apply the patch and locate a patron who has holds. > >- On the checkout page, view the 'Holds' tab and confirm that there is a > correctly-styled 'Suspend' button for each hold. >- Verify that the button works correctly and looks correct when a hold > has been suspended. > >Signed-off-by: Arslan Farooq <arslanone@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/js/holds.js | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js >index 3182a30..7ddd5ea 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js >@@ -133,11 +133,11 @@ $(document).ready(function() { > if ( oObj.found ) { > return ""; > } else if ( oObj.suspend == 1 ) { >- return "<a class='hold-resume btn btn-link' id='resume" + oObj.reserve_id + "' style='display: inline; white-space: nowrap;'>" >- + "<i class='icon-play'></i> " + RESUME + "</a>"; >+ return "<a class='hold-resume btn btn-mini' id='resume" + oObj.reserve_id + "'>" >+ + "<i class='fa fa-play'></i> " + RESUME + "</a>"; > } else { >- return "<a class='hold-suspend btn btn-link' id='suspend" + oObj.reserve_id + "' style='display: inline; white-space: nowrap;'>" >- + "<i class='icon-pause'></i> " + SUSPEND + "</a>"; >+ return "<a class='hold-suspend btn btn-mini' id='suspend" + oObj.reserve_id + "'>" >+ + "<i class='fa fa-pause'></i> " + SUSPEND + "</a>"; > } > } > } >-- >1.7.10.4 >
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 16900
:
53278
|
53300
|
53302