Bug 14576: (follow-up) Add code highlighting to system preference UpdateItemLocationO...
authorJosef Moravec <josef.moravec@gmail.com>
Tue, 23 Apr 2019 12:02:32 +0000 (12:02 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 25 Apr 2019 11:36:24 +0000 (11:36 +0000)
Test plan:
1) Go to system preferences and find preference UpdateItemLocationOnCheckin
2) Ensure the yaml code higlighting is used on textarea when editing
this setting

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

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

index ffe4062..e31061d 100644 (file)
@@ -526,6 +526,7 @@ Circulation:
         -
             - pref: UpdateItemLocationOnCheckin
               type: textarea
+              syntax: text/x-yaml
               class: code
             - "This a list of value pairs. the first value is followed immediately by colon space then the second value.<br/><br/>"
             - "Examples:<br/>"