From 2ad6da76e03688a9526f4229d102ad396597a038 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Tue, 5 Jan 2016 17:47:01 -0500 Subject: [PATCH] Temporary modifications to My Account > Holds History until more permanent fixes are developed. Hid paging because it is broken. See: https://bugs.launchpad.net/evergreen/+bug/1422927 Showing "Canceled" instead of "Active" for canceled holds. See: https://bugs.launchpad.net/evergreen/+bug/1275118 Signed-off-by: Terran McCanna --- Open-ILS/src/templates/opac/myopac/hold_history.tt2 | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 b/Open-ILS/src/templates/opac/myopac/hold_history.tt2 index 701f7a9d28..187fc9674a 100644 --- a/Open-ILS/src/templates/opac/myopac/hold_history.tt2 +++ b/Open-ILS/src/templates/opac/myopac/hold_history.tt2 @@ -22,6 +22,7 @@
[% l("Previously Requested Items") %] + [% l('Export List') %] @@ -96,7 +98,24 @@ [% ctx.get_aou(ahr.pickup_lib).name | html %] -
+ [% IF ahr.frozen == 't' AND ahr.thaw_date; + date.format(ctx.parse_datetime(ahr.thaw_date), DATE_FORMAT); + END %] + + [% IF hold.hold.status != 6; %] + [% l(ahr.frozen == 'f' ? 'Active' : 'Suspended') %] + [% ELSE %] + Canceled + [% END %] + + + [% IF ahr.fulfillment_time; + date.format(ctx.parse_datetime(ahr.fulfillment_time), DATE_FORMAT); + END %] + + +
[% PROCESS get_hold_status hold=hold; %]
-- 2.11.0