Bugzilla – Attachment 41306 Details for
Bug 14631
Change to "Patron" in patroncard toolbar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14631 - Change item(s) to patron(s) in toolbar
Bug-14631---Change-items-to-patrons-in-toolbar.patch (text/plain), 1.56 KB, created by
Indranil Das Gupta
on 2015-08-03 01:15:38 UTC
(
hide
)
Description:
Bug 14631 - Change item(s) to patron(s) in toolbar
Filename:
MIME Type:
Creator:
Indranil Das Gupta
Created:
2015-08-03 01:15:38 UTC
Size:
1.56 KB
patch
obsolete
>From d2147c2a56fda95b369f34e5e828e906abcb4ebf Mon Sep 17 00:00:00 2001 >From: Indranil Das Gupta <indradg@gmail.com> >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)"); >+ } > }); > //]]> > </script> >-- >1.9.1
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 14631
:
41305
| 41306 |
45889
|
45919