From a9c700f8e6c11af7fb47b65d186b956608263e03 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 18 May 2023 10:36:48 +0000 Subject: [PATCH] Bug 33716: (follow-up) Amend system preference descrpition and improve formatting This adds some documentation for the different options presented in the example YAML entry and improves formatting a little for better readability of the example. Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- .../modules/admin/preferences/interlibrary_loans.pref | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref index 83b3fb313a..472ec9adb9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref @@ -13,8 +13,13 @@ Interlibrary loans: type: textarea class: long - - - "If the ILL backend supports it, adding YAML will enable the request type disclaimer stage in request creation, prompting the user with a request type specific disclaimer as defined (Staff and OPAC). Example (paste bold text in the input box):
- all:
+ - "If the ILL backend supports it, adding YAML will enable the request type disclaimer stage in request creation, prompting the user with a request type specific disclaimer as defined (staff interface and OPAC)." + - "For each request type, you can have 3 configuration options: text, av_category_code and bypass
    " + - "
  • text is the HTML that will be visible for the specified request type.
  • " + - "
  • av_category_code is the authorised values category that will be used for the options being presented at the disclaimer stage.
  • " + - "
  • bypass allows for a specific request type to skip the disclaimer stage.
" + - "Example (paste bold text in the input box):
+ all:
 text: |
  <h2>HTML title</h2>
  <p>This is an HTML paragraph</p>
@@ -24,7 +29,7 @@ Interlibrary loans:  text: copyright text for all article type requests
 av_category_code: YES_NO
 bypass: 1
-
" + " - pref: ILLModuleDisclaimerByType type: textarea syntax: text/x-yaml -- 2.39.5