Bugzilla – Attachment 4702 Details for
Bug 5922
Show waiting items for patron on return
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Follow-up change
0001-Additional-change-for-bug-5922-Show-waiting-items-fo.patch (text/plain), 1.98 KB, created by
Owen Leonard
on 2011-07-21 15:47:29 UTC
(
hide
)
Description:
Follow-up change
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-07-21 15:47:29 UTC
Size:
1.98 KB
patch
obsolete
>From 178039fa0849536b40f83beaf8f966ed094f4f9a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 21 Jul 2011 11:44:32 -0400 >Subject: [PATCH] Additional change for bug 5922 - Show waiting items for patron on return >Content-Type: text/plain; charset="utf-8" > >- Adding patron name to dialog >- Styling dialog as a message rather than an alert since it's > informational rather than a warning >--- > circ/returns.pl | 2 ++ > .../intranet-tmpl/prog/en/modules/circ/returns.tt | 6 +++--- > 2 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index bb5230b..6826d7c 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -277,6 +277,8 @@ if ($barcode) { > $template->param( > waiting_holds => $waiting_holds, > holdsborrowernumber => $borrower->{'borrowernumber'}, >+ holdsfirstname => $borrower->{'firstname'}, >+ holdssurname => $borrower->{'surname'}, > ); > } > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index c02be49..25f1746 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -68,9 +68,9 @@ function Dopop(link) { > > <!-- Patron has waiting holds --> > [% IF ( waiting_holds ) %] >- <div class="dialog alert"> >- <h3>Patron has [% waiting_holds %] hold(s) waiting for pickup.</h3> >- <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Checkout holds</a>.</p> >+ <div class="dialog message"> >+ <h3>[% holdsfirstname %] [% holdssurname %] has [% waiting_holds %] hold(s) waiting for pickup.</h3> >+ <p><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% holdsborrowernumber %]">Check out to this patron</a>.</p> > </div> > [% END %] > >-- >1.7.3 >
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 5922
:
3439
|
3440
|
3458
| 4702 |
4703