Bugzilla – Attachment 107551 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), 2.01 KB, created by
Katrin Fischer
on 2020-07-29 22:24:41 UTC
(
hide
)
Description:
Bug 25694: Add ability to delete a Marc Modification Template when viewing
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-07-29 22:24:41 UTC
Size:
2.01 KB
patch
obsolete
>From b8ba6aeca75efece44b3225b82387912452ac8ba 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> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../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