From da776e07b879313675ec3270a2c4f4a3fe8b7a11 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. --- 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 3c5ea159386..aea867a2136 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.11.0