Fix for Bug 4298 - Title detail display: improve display of item level hold information

Message changed for two cases, waiting and item-level hold:

"Waiting for [ patron name ] at [ library] since [ date ]"

"Item-level hold for [ patron name ] for delivery at [ library ] (placed [ date ])"

Signed-off-by: Liz Rea <lrea@nekls.org>
Works as advertsed, is MUCH more clear.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Owen Leonard 2011-09-20 12:21:34 -04:00 committed by Chris Cormack
parent 5e0f0f487a
commit e9673ea496

View file

@ -328,7 +328,7 @@ function verify_images() {
[% IF ( itemloo.waitingdate ) %]
Waiting
[% ELSE %]
On hold
Item-level hold
[% END %]
[% IF ( canreservefromotherbranches ) %]for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.ReservedForBorrowernumber %]">
[% IF ( hidepatronname ) %]
@ -338,12 +338,12 @@ function verify_images() {
[% END %]
</a>[% END %]
[% IF ( itemloo.waitingdate ) %]
at[% ELSE %]expected at
at[% ELSE %]for delivery at
[% END %] [% itemloo.ExpectedAtLibrary %]
since
[% IF ( itemloo.waitingdate ) %][% itemloo.waitingdate %]
[% IF ( itemloo.waitingdate ) %]
since [% itemloo.waitingdate %]
[% ELSE %]
[% IF ( itemloo.reservedate ) %][% itemloo.reservedate %][% END %]
[% IF ( itemloo.reservedate ) %](placed [% itemloo.reservedate %])[% END %]
[% END %]
[% END %]
[% UNLESS ( itemloo.itemnotforloan ) %][% UNLESS ( itemloo.onloan ) %][% UNLESS ( itemloo.itemlost ) %][% UNLESS ( itemloo.wthdrawn ) %][% UNLESS ( itemloo.damaged ) %][% UNLESS ( itemloo.transfertwhen ) %][% UNLESS ( itemloo.reservedate ) %]