From 71e0ce11636411286f3a580cab74a36850647f5b 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 3e53aae4f9451b340d5a808c16295a31809d729d) Signed-off-by: Matt Blenkinsop --- 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 e3d80a0a63..fc37f49172 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 3a0555329b..b846c51c8b 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 3914e57cfc..fc2dcff60d 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.39.5