- 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 _______________________________________________ Koha-patches mailing list Koha-patches@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/