Bugzilla – Attachment 107468 Details for
Bug 25694
Add ability to delete a MARC modification template when viewing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25694: Add ability to delete a Marc Modification Template when viewing
Bug-25694-Add-ability-to-delete-a-Marc-Modificatio.patch (text/plain), 1.95 KB, created by
ByWater Sandboxes
on 2020-07-28 15:02:54 UTC
(
hide
)
Description:
Bug 25694: Add ability to delete a Marc Modification Template when viewing
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-07-28 15:02:54 UTC
Size:
1.95 KB
patch
obsolete
>From 415f867fc8465102f2c4d7baf9e1a032cd5047e7 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <kelly@bywatersolutions.com> >--- > .../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 @@ > <a href="#" data-toggle="modal" data-template_id="" data-target="#createTemplate" id="new_template" class="btn btn-default duplicate_template"><i class="fa fa-plus"></i> New template</a> > [% IF ( template_id != '' ) %] > <a href="#" id="new_action" class="btn btn-default"><i class="fa fa-plus"></i> New action</a> >+ <a class="btn btn-default delete_template" href="/cgi-bin/koha/tools/marc_modification_templates.pl?template_id=[% template_id | html %]&op=delete_template"><i class="fa fa-fw fa-trash"></i> Delete template</a> > [% END %] > </div> > >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25694
:
107431
|
107468
|
107551