Bug 25694: Add ability to delete a Marc Modification Template when viewing
authorOwen Leonard <oleonard@myacpl.org>
Mon, 27 Jul 2020 14:39:22 +0000 (14:39 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 18 Aug 2020 15:39:48 +0000 (17:39 +0200)
commitbf2ec138ff788206be0e27d0882aaa3bb7da6cb8
tree9a8336f3a9361b57a55e835ec11553097b554c36
parentcbc3a37f8ed5e80560f6f93b258335e70a20fbf7
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 <kelly@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt