From 1e485e60f07ffcb29db9f696582d3c810b9b6abf 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. --- 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 0aa2971b350..1c10c2f94d4 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.11.0