From 1ad6980ff92e95136d6c469845780bed3e12ba5a Mon Sep 17 00:00:00 2001 From: Jonathan Druart <jonathan.druart@biblibre.com> Date: Wed, 25 Mar 2015 12:03:01 +0100 Subject: [PATCH] Bug 3831: Does not allow to delete the FA framework Test plan: Go on the MARC framework list view and confirm there is no Delete link anymore for the FA framework. --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt index 791e971..66f1168 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt @@ -225,7 +225,11 @@ <td>[% loo.frameworktext %]</td> <td><a href="marctagstructure.pl?frameworkcode=[% loo.frameworkcode %]" >MARC structure</a></td> <td><a href="[% loo.script_name %]?op=add_form&frameworkcode=[% loo.frameworkcode |html %]">Edit</a></td> - <td><a href="[% loo.script_name %]?op=delete_confirm&frameworkcode=[% loo.frameworkcode |html %]">Delete</a></td> + <td> + [% IF loo.frameworkcode != 'FA' %] + <a href="[% loo.script_name %]?op=delete_confirm&frameworkcode=[% loo.frameworkcode |html %]">Delete</a> + [% END %] + </td> <td> <!-- Button to trigger modal --> -- 2.1.0