From 9c10245c17a4d8afb76a0c6c1a6db47466c1e9f0 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 16 Jan 2020 14:52:00 +0000 Subject: [PATCH] Bug 24433: OPAC account page no longer asks for confirmation before deleting hold This patch restores markup added by Bug 21870 and subsequently removed accidentally by Bug 21772. This allows the OPAC user summary page to display a confirmation dialog before deleting a hold. To test, apply the patch and log in to the OPAC as a user with holds. - On the "Your summary" page, click the "Holds" tab. - Click the "Cancel" button next to any hold. - You should see a modal dialog asking for confirmation, showing the correct title. - Test both the "Yes" and "No" actions. Signed-off-by: Maryse Simard --- koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc index 3c5ea15938..aea867a213 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc @@ -184,10 +184,11 @@ [% IF ! onlyinfo %] [% IF ( HOLD.is_cancelable_from_opac ) %] -
+ -
+ + [% END %] [% END # / IF onlyinfo %] -- 2.17.1