Bugzilla – Attachment 183066 Details for
Bug 40088
Do not show edit button for default framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40088: Do not show edit button for default framework
Bug-40088-Do-not-show-edit-button-for-default-fram.patch (text/plain), 2.08 KB, created by
Fridolin Somers
on 2025-06-06 10:02:05 UTC
(
hide
)
Description:
Bug 40088: Do not show edit button for default framework
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2025-06-06 10:02:05 UTC
Size:
2.08 KB
patch
obsolete
>From 1a8f53d5fb479930036fdcb65a85a5e4e5487921 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >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 >--- > .../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 f307644d51..5bdc3777c9 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 ) %] > <div id="toolbar" class="btn-toolbar"> > <a class="btn btn-default" id="addtag" href="/cgi-bin/koha/admin/marctagstructure.pl?op=add_form&frameworkcode=[% framework.frameworkcode | uri %]"><i class="fa fa-plus"></i> New tag</a> >- <a class="btn btn-default" href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form&frameworkcode=[% framework.frameworkcode | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit framework</a> >+ [% IF framework %] >+ <a class="btn btn-default" href="/cgi-bin/koha/admin/biblio_framework.pl?op=add_form&frameworkcode=[% framework.frameworkcode | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit framework</a> >+ [% END %] > </div> > [% END %] > >-- >2.43.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 40088
:
183066
|
183076