From 7d3940768cca3b680f832c14000e1c54316cc429 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. --- .../intranet-tmpl/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.11.0