From 231fe031ef9b47cadda6f7af413e1fee0f9863b7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 11 Jul 2016 15:03:37 -0400 Subject: [PATCH] [PASSED QA] 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 --- 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 "" - + " " + RESUME + ""; + return "" + + " " + RESUME + ""; } else { - return "" - + " " + SUSPEND + ""; + return "" + + " " + SUSPEND + ""; } } } -- 1.9.1