Bugzilla – Attachment 53211 Details for
Bug 16682
Fix display if Batch patron modification tool does not get any patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 16682: Fix display if Batch patron modification tool does not get any patrons
Bug-16682-Fix-display-if-Batch-patron-modification.patch (text/plain), 1.87 KB, created by
Srdjan Jankovic
on 2016-07-08 02:18:43 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 16682: Fix display if Batch patron modification tool does not get any patrons
Filename:
MIME Type:
Creator:
Srdjan Jankovic
Created:
2016-07-08 02:18:43 UTC
Size:
1.87 KB
patch
obsolete
>From fa7ee76f9d905bad736501894e87f189978ef605 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 5 Jul 2016 02:10:55 +0200 >Subject: [PATCH] Bug 16682: Fix display if Batch patron modification tool does > not get any patrons > >To reproduce: >- Go to Tools->Batch patron modification >- Submit without filling any of "Use a file", "Or use a patron list", > "Or list card numbers..." or use a patron lists with zero members >Result: Screen without any information > >To test: >- Apply patch >- Repeat steps above >- Verify that you get a nice message >- Verify that the tool works as before > - with invalid card numbers only > - with valid and invalid card numbers > - with valid card numbers only > >Signed-off-by: Srdjan <srdjan@catalyst.net.nz> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >index 8d50d70..fd79986 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt >@@ -172,6 +172,12 @@ > </form> > [% END %] > >+ [% IF ( op == 'show') && (!borrowers) && (!notfoundcardnumbers) # Alert if no patrons given%] >+ [% op = 'noshow' # Change op to prevent display in code below %] >+ <h1>Batch patrons modification</h1> >+ <div class="dialog alert">No patron card numbers given. <a href="/cgi-bin/koha/tools/modborrowers.pl" class="btn btn-mini">Back</a></div> >+ [% END #Alert if no patrons %] >+ > [% IF ( op == 'show' or op == 'show_results' ) %] > [% IF ( op == 'show' ) %] > <h1>Batch patrons modification</h1> >-- >2.7.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 16682
:
53149
|
53163
|
53211
|
53235
|
53236
|
53237