From 6c711e6cda36ab339fc52d63ec1fd99d1f39fe99 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 11 Jul 2016 15:03:37 -0400 Subject: [PATCH] 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 Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- 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 3182a30dd4..7ddd5ea9fb 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 "" - + " " + RESUME + ""; + return "" + + " " + RESUME + ""; } else { - return "" - + " " + SUSPEND + ""; + return "" + + " " + SUSPEND + ""; } } } -- 2.20.1