Additional change for bug 5922 - Show waiting items for patron on return
- Adding patron name to dialog - Styling dialog as a message rather than an alert since it's informational rather than a warning
This commit is contained in:
parent
548a670eaf
commit
53daf8a2de
|
|
@ -263,6 +263,8 @@ if ($barcode) {
|
|||
$template->param(
|
||||
waiting_holds => $waiting_holds,
|
||||
holdsborrowernumber => $borrower->{'borrowernumber'},
|
||||
holdsfirstname => $borrower->{'firstname'},
|
||||
holdssurname => $borrower->{'surname'},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 %]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue