Bugzilla – Attachment 53278 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
Bug-16900---Hold-suspend-button-incorrectly-styled.patch (text/plain), 2.29 KB, created by
Owen Leonard
on 2016-07-11 19:09:06 UTC
(
hide
)
Description:
Bug 16900 - Hold suspend button incorrectly styled in patron holds list
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-07-11 19:09:06 UTC
Size:
2.29 KB
patch
obsolete
>From 9d56005d1fec5ad62b2cdb7b45e42ac77dd7343a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 11 Jul 2016 15:03:37 -0400 >Subject: [PATCH] Bug 16900 - Hold suspend button incorrectly styled in patron > holds list >Content-Type: text/plain; charset="utf-8" > >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. >--- > 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>"; > } > } > } >-- >2.1.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