From bc1331269344f7840807aceb304a532c3bc0ecee Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 20 Feb 2023 22:15:48 +0000 Subject: [PATCH] Bug 33015: Fix some 'Cancel' links to point to cataloging start page Some 'cancel' links of tools moved to the cataloguing module still pointed to the tools start page. This adds some more consistency. To test: * Go to cataloguing * Batch item editing * Batch record deletion * Batch record modification (create a MARC modification template first) * Verify the 'cancel' link on each page points to tools * Apply patch: cancelling should not take you to the cataloging start page Signed-off-by: Lucas Gass JD Amended patch: indentation + fix typo - Cancel + Cancel Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt | 2 +- .../intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt | 2 +- .../prog/en/modules/tools/batch_record_modification.tt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt index e3d80a0a639..fc37f49172f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt @@ -82,7 +82,7 @@ [% IF ( del ) %][% END %]
- Cancel + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt index 3a0555329ba..b846c51c8b1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt @@ -132,7 +132,7 @@
- Cancel + Cancel
[% ELSIF op == 'list' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt index 3914e57cfcf..fc2dcff60d0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt @@ -163,7 +163,7 @@
- Cancel + Cancel
[% ELSIF view == 'list' %] -- 2.25.1