]> git.koha-community.org Git - koha.git/commit
Bug 23315: (follow-up) Add configuration to enable CodeMirror
authorOwen Leonard <oleonard@myacpl.org>
Mon, 15 Jul 2019 13:11:13 +0000 (13:11 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 6 Aug 2019 13:43:58 +0000 (15:43 +0200)
commit6c1deb065839cc6a0e3078365a7cd2144e8549a1
tree063866ca05f232cbc169725e98da38e0f571032e
parent1166e71d47e04d78eed047076548053ec06b21ec
Bug 23315: (follow-up) Add configuration to enable CodeMirror

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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 02c9246def1f19bdc8310c562ddaf5172cf0b3ad)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref