From 54d7fe5250eefac32520f520469d5882c0a67628 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 13 Aug 2019 14:51:10 +0000 Subject: [PATCH] Bug 17057: Remove event attributes from holds template My orginal patch for this bug contained a lot of changes made obsolete by Bug 19469, which created holds_table.inc. This new version makes one minor change only to request.tt, adding a class name and removing an onclick attribute. To test, apply the patch and place an item-level hold on a title. Start the process of placing another hold on that item. On the "place hold" screen, in the table of items, you should see a "Cancel hold" link for the item you previously placed on hold. - Click the "Cancel hold" link - Clicking "Cancel" in the confirmation dialog should cancel the operation. - Clicking "OK" should cancel the hold. Signed-off-by: Maryse Simard Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 0aa2971b35..1c10c2f94d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -414,7 +414,7 @@ [% IF ( itemloo.waitingdate ) %]Waiting[% ELSE %]On hold[% END %] [% IF ( itemloo.canreservefromotherbranches ) %]for [% itemloo.ReservedFor.firstname | html %] [% itemloo.ReservedFor.surname | html %][% END %] [% IF ( itemloo.waitingdate ) %]at[% ELSE %]expected at[% END %] [% Branches.GetName( itemloo.ExpectedAtLibrary ) | html %] since - [% IF ( itemloo.waitingdate ) %][% itemloo.waitingdate | $KohaDates %][% ELSE %][% IF ( itemloo.reservedate ) %][% itemloo.reservedate | html %][% END %][% END %]. Cancel hold + [% IF ( itemloo.waitingdate ) %][% itemloo.waitingdate | $KohaDates %][% ELSE %][% IF ( itemloo.reservedate ) %][% itemloo.reservedate | html %][% END %][% END %]. Cancel hold [% END %] [% ELSE %] Not on hold -- 2.39.5