From 30db66ce4ffcb8c8fd6fc953c403aac3cdc2bafb Mon Sep 17 00:00:00 2001
From: Josef Moravec <josef.moravec@gmail.com>
Date: Tue, 23 Apr 2019 12:02:32 +0000
Subject: [PATCH] Bug 14576: (follow-up) Add code highlighting to system
 preference UpdateItemLocationOnCheckin

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
---
 .../intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref     | 1 +
 1 file changed, 1 insertion(+)

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 ffe4062437..e31061d8c0 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
@@ -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/>"
-- 
2.11.0