Bugzilla – Attachment 91612 Details for
Bug 23315
Some system preferences are no longer editable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23315: (follow-up) Add configuration to enable CodeMirror
Bug-23315-follow-up-Add-configuration-to-enable-Co.patch (text/plain), 3.35 KB, created by
Marcel de Rooy
on 2019-07-19 06:37:27 UTC
(
hide
)
Description:
Bug 23315: (follow-up) Add configuration to enable CodeMirror
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-07-19 06:37:27 UTC
Size:
3.35 KB
patch
obsolete
>From f93ace57f2d1de5977d0c78c2e5a518eec5e2d65 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 15 Jul 2019 13:11:13 +0000 >Subject: [PATCH] Bug 23315: (follow-up) Add configuration to enable CodeMirror >Content-Type: text/plain; charset=utf-8 > >This patch adds the "syntax" parameter to the corrected system >preferences so that the textareas will be displayed as CodeMirror >editors. > >To test, apply the patch and test the affected system preferences: > >Circulation -> SelfCheckHelpMessage >Staff client -> IntranetmainUserblock >Staff client -> IntranetCirculationHomeHTML >Staff client -> IntranetReportsHomeHTML >Staff client -> StaffLoginInstructions > >With UseWYSIWYGinSystemPreferences disabled, the preferences should be >displayed as CodeMirror editors. With UseWYSIWYGinSystemPreferences >enabled they should be WYSIWYG editors. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref | 1 + > .../intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref | 4 ++++ > 2 files changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >index d51c4c6b52..15085b6b3d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref >@@ -971,6 +971,7 @@ Circulation: > - "Include the following HTML in the Help page of the web-based self checkout system:" > - pref: SelfCheckHelpMessage > type: textarea >+ syntax: text/html > class: code > - > - pref: AutoSelfCheckAllowed >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref >index 789077c3bb..bade8e376c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref >@@ -48,6 +48,7 @@ Staff Client: > - "Show the following HTML in its own column on the main page of the staff client:" > - pref: IntranetmainUserblock > type: textarea >+ syntax: text/html > class: code > - > - "Show the following HTML to the left of the More menu at the top of each page on the staff client (should be a list of links or blank):" >@@ -105,16 +106,19 @@ Staff Client: > - "Show the following HTML in its own div on the bottom of the home page of the circulation module:" > - pref: IntranetCirculationHomeHTML > type: textarea >+ syntax: text/html > class: code > - > - "Show the following HTML in its own div on the bottom of the home page of the reports module:" > - pref: IntranetReportsHomeHTML > type: textarea >+ syntax: text/html > class: code > - > - "Show the following HTML on the staff client login page" > - pref: StaffLoginInstructions > type: textarea >+ syntax: text/html > class: code > Options: > - >-- >2.11.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 23315
:
91521
|
91526
|
91527
|
91541
|
91542
|
91611
| 91612