Bug 23315: Some systempreferences can not be edited
authorChris Cormack <chrisc@catalyst.net.nz>
Mon, 15 Jul 2019 02:28:16 +0000 (14:28 +1200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 19 Jul 2019 08:33:23 +0000 (09:33 +0100)
To test
1/ Go to systempreferences
2/ Notice that SelfCheckHelpMessage IntranetmainUserblock
IntranetCirculationHomeHTML IntranetReportsHomeHTML
StaffLoginInstructions are not editable
3/ Apply patch, refresh page
4/ Now they can be edited

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref

index c005caa..d51c4c6 100644 (file)
@@ -970,7 +970,7 @@ Circulation:
         -
             - "Include the following HTML in the Help page of the web-based self checkout system:"
             - pref: SelfCheckHelpMessage
-              type: htmlarea
+              type: textarea
               class: code
         -
             - pref: AutoSelfCheckAllowed
index 570c570..789077c 100644 (file)
@@ -47,7 +47,7 @@ Staff Client:
         -
             - "Show the following HTML in its own column on the main page of the staff client:"
             - pref: IntranetmainUserblock
-              type: htmlarea
+              type: textarea
               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):"
@@ -104,17 +104,17 @@ Staff Client:
         -
             - "Show the following HTML in its own div on the bottom of the home page of the circulation module:"
             - pref: IntranetCirculationHomeHTML
-              type: htmlarea
+              type: textarea
               class: code
         -
             - "Show the following HTML in its own div on the bottom of the home page of the reports module:"
             - pref: IntranetReportsHomeHTML
-              type: htmlarea
+              type: textarea
               class: code
         -
             - "Show the following HTML on the staff client login page"
             - pref: StaffLoginInstructions
-              type: htmlarea
+              type: textarea
               class: code
     Options:
         -