From bf2ec138ff788206be0e27d0882aaa3bb7da6cb8 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 27 Jul 2020 14:39:22 +0000 Subject: [PATCH] Bug 25694: Add ability to delete a Marc Modification Template when viewing This patch adds a "delete template" button to the MARC modification templates "Edit actions" view. To test, apply the patch and go to Tools -> MARC modification templates. - On the main MARC modification templates page the toolbar should have only one button: "New template." - Click the "Edit actions" button for an existing template. - On the "Actions for..." view there should be three buttons, "New template," "New action," and "Delete template." - Test that the "Delete template" button works correctly. Signed-off-by: Kelly McElligott Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../prog/en/modules/tools/marc_modification_templates.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt index f692b42b95..64a0588f3d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt @@ -42,6 +42,7 @@ New template [% IF ( template_id != '' ) %] New action + Delete template [% END %] -- 2.39.5