From d2147c2a56fda95b369f34e5e828e906abcb4ebf Mon Sep 17 00:00:00 2001 From: Indranil Das Gupta Date: Mon, 3 Aug 2015 06:33:03 +0530 Subject: [PATCH] Bug 14631 - Change item(s) to patron(s) in toolbar The toolbar for "Manage patron card batches" template shows "item(s)" instead of "patron(s)". This patch proposes to fix it. Test plan ========= 1/ Go to Patron card creator > Manage patron card batches notice. 2/ Select a batch to edit, you should see the toolbar as described in attachment 41305 3/ Apply patch and refresh page. The toolbar should read correctly as 'patron(s)' 4/ Go back to step #1 above and select "New batch" and let the page automatically refresh. The toolbar button presented should read "Add patron(s)" --- koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt index 25f79d4..583df97 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt @@ -143,6 +143,11 @@ Xport('batch'); return false; }); + if( $('#pcard_edit-batch').length ) { + $("#additems").text("Add patron(s)"); + $("#removeitems").text("Remove patron(s)"); + $("#exportitems").text("Export patron(s)"); + } }); //]]> -- 1.9.1