Bugzilla – Attachment 173576 Details for
Bug 35625
Add support for system flag to additional fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35625: Update UI to prevent deletion/edition
Bug-35625-Update-UI-to-prevent-deletionedition.patch (text/plain), 2.02 KB, created by
Martin Renvoize (ashimema)
on 2024-10-28 17:14:33 UTC
(
hide
)
Description:
Bug 35625: Update UI to prevent deletion/edition
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-10-28 17:14:33 UTC
Size:
2.02 KB
patch
obsolete
>From aa9284afbaad70db47a356a9d80c1349d31027ff Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 21 Dec 2023 09:34:34 +0000 >Subject: [PATCH] Bug 35625: Update UI to prevent deletion/edition > >--- > .../prog/en/modules/admin/additional-fields.tt | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt >index ed1c4af13e3..0d38b73a662 100755 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt >@@ -160,6 +160,7 @@ > <th>Searchable</th> > [% END %] > <th>Repeatable</th> >+ <th>System</th> > <th class="noExport">Actions</th> > </tr> > </thead> >@@ -185,9 +186,14 @@ > <td> > [% IF field.repeatable %]Yes[% ELSE %]No[% END %] > </td> >+ <td> >+ [% IF field.is_system %]Yes[% ELSE %]No[% END %] >+ </td> > <td class="actions"> >+ [% IF !field.is_system %] > <a class="btn btn-default btn-xs" href="?op=add_form&field_id=[% field.id | html %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> > <a class="confirmdelete btn btn-default btn-xs" href="?op=delete&field_id=[% field.id | uri %]&tablename=[% tablename | uri %]"><i class="fa fa-trash-can"></i> Delete</a> >+ [% END %] > </td> > </tr> > [% END %] >-- >2.47.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 35625
:
160171
|
160172
|
160173
|
160174
|
160175
|
160176
|
173567
|
173568
|
173569
|
173570
|
173571
|
173573
|
173574
|
173575
| 173576 |
173577
|
173578