Bugzilla – Attachment 187898 Details for
Bug 39860
Add a way to allow for additional/custom MARC fields in the record display
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39860: Disable WYSIWYG for record display entries
Bug-39860-Disable-WYSIWYG-for-record-display-entri.patch (text/plain), 1.59 KB, created by
Lucas Gass (lukeg)
on 2025-10-15 00:20:09 UTC
(
hide
)
Description:
Bug 39860: Disable WYSIWYG for record display entries
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-10-15 00:20:09 UTC
Size:
1.59 KB
patch
obsolete
>From f27adb5165180314322c023370420ca8a7294913 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 15 Oct 2025 00:19:32 +0000 >Subject: [PATCH] Bug 39860: Disable WYSIWYG for record display entries > >--- > .../prog/en/modules/tools/additional-contents.tt | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >index 3f2331cb34a..06172b3b5e5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >@@ -64,6 +64,9 @@ > } > </style> > [% END %] >+[% IF category == 'record_display' %] >+ [% editmode = "text" %] >+[% END %] > <style> > .syspref-link::before { > content: " | "; >@@ -348,7 +351,7 @@ > ><button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"> </button> > <ul class="dropdown-menu"> > <li> >- [% IF ( wysiwyg ) %] >+ [% IF ( wysiwy || category == 'record_display' ) %] > <a class="dropdown-item" href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=[% category | uri %]&editmode=text">New entry using text editor</a> > [% ELSE %] > <a class="dropdown-item" href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&category=[% category | uri %]&editmode=wysiwyg">New entry using WYSIWYG editor</a> >-- >2.39.5
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 39860
:
182054
|
182055
|
182056
|
182057
|
182058
|
182059
|
182230
|
182231
|
182232
|
182233
|
183007
|
183008
|
183009
|
183010
|
183011
|
183035
|
183077
|
183095
|
183774
|
185835
|
185865
|
185866
|
185867
|
185868
|
185869
|
185870
|
185900
|
185901
|
185902
|
185903
|
185904
|
185905
| 187898