From 411a48afca47b3561c06e5387f09637e51a8073e Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 6 Jun 2025 11:59:01 +0200 Subject: [PATCH] Bug 40088: Do not show edit button for default framework In Administration > MARC bibliographic frameworks > "MARC structure": Do not show "Edit framework" button in tools bar since one can not edit the default framework description. Currently it leads to new framework creation. Test plan : 1) Go to Administration > MARC bibliographic frameworks 2) On default framework row, click Actions > MARC structure 3) Check you dont see in tool bar "Edit framework" button 4) Go to Administration > MARC bibliographic frameworks 5) On a framework row (not default one), click Actions > MARC structure 6) Check you see in tool bar "Edit framework" button Signed-off-by: Owen Leonard --- .../intranet-tmpl/prog/en/modules/admin/marctagstructure.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt index f307644d51d..5bdc3777c96 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt @@ -94,7 +94,9 @@ [% IF ( else ) %]
New tag - Edit framework + [% IF framework %] + Edit framework + [% END %]
[% END %] -- 2.39.5