Bugzilla – Attachment 50633 Details for
Bug 14050
Default framework for authorities should not be deletable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14050 - Default framework for authorities should not be deletable
Bug-14050---Default-framework-for-authorities-shou.patch (text/plain), 1.87 KB, created by
Marc Véron
on 2016-04-25 13:05:13 UTC
(
hide
)
Description:
Bug 14050 - Default framework for authorities should not be deletable
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-04-25 13:05:13 UTC
Size:
1.87 KB
patch
obsolete
>From 1e201ec45a38f76581740b697c9d5b9dcf926fcc Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Mon, 25 Apr 2016 15:02:36 +0200 >Subject: [PATCH] Bug 14050 - Default framework for authorities should not be > deletable > >To test: >- Apply patch >- In staff client, go to Home > Administration > Authority types >- Verify that the Actions for the Default type do not contain the delete > action >- Verify that other types have a delete action >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >index 4740e4d..90dc74f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt >@@ -167,7 +167,7 @@ > <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authtypeactions[% authority_type.authtypecode %]"> > <li><a href="auth_tag_structure.pl?authtypecode=[% authority_type.authtypecode %]" class="button parameters"><i class="fa fa-eye"></i> MARC structure</a></li> > <li><a href="/cgi-bin/koha/admin/authtypes.pl?op=add_form&authtypecode=[% authority_type.authtypecode |html %]"><i class="fa fa-pencil"></i> Edit</a></li> >- <li><a href="/cgi-bin/koha/admin/authtypes.pl?op=delete_confirm&authtypecode=[% authority_type.authtypecode |html %]"><i class="fa fa-trash"></i> Delete</a></li> >+ [% IF authority_type.authtypecode %]<li><a href="/cgi-bin/koha/admin/authtypes.pl?op=delete_confirm&authtypecode=[% authority_type.authtypecode |html %]"><i class="fa fa-trash"></i> Delete</a></li>[% END %] > </ul> > </div> > </td> >-- >1.7.10.4
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 14050
:
50633
|
50638
|
50656
|
51525