Currently, the ability to delete a Template in Marc Modification templates only exists from the marc_modification_templates.pl, however, it would be nice to have the ability to delete the template, when you are looking at the actions of that template. If you accidentally make two templates of the same name and want to delete one, it is hard to be sure which one you are deleting from the list of the templates without seeing the actions of each one.
Created attachment 107431 [details] [review] 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.
Created attachment 107468 [details] [review] 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>
Awesome- thanks Owen!
Created attachment 107551 [details] [review] 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>
Hi Kelly, if you could sign off on the dependent bug 26055 too, it would be great and help to get this moving faster. I'll PQA but set it to BLOCKED until the dependency is PQA as well.
Pushed to master for 20.11, thanks to everybody involved!
enhancement will not be backported to 20.05.x