Bugzilla – Attachment 151031 Details for
Bug 33716
ILL - Allow for a disclaimer stage per request type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33716: New ILLModuleDisclaimerByType sys pref
Bug-33716-New-ILLModuleDisclaimerByType-sys-pref.patch (text/plain), 2.94 KB, created by
Pedro Amorim
on 2023-05-10 18:57:52 UTC
(
hide
)
Description:
Bug 33716: New ILLModuleDisclaimerByType sys pref
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-05-10 18:57:52 UTC
Size:
2.94 KB
patch
obsolete
>From 4ff4233b14b852279939966276f0221b0fa93531 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 4 May 2023 13:33:23 +0000 >Subject: [PATCH] Bug 33716: New ILLModuleDisclaimerByType sys pref > >--- > installer/data/mysql/mandatory/sysprefs.sql | 1 + > .../admin/preferences/interlibrary_loans.pref | 17 +++++++++++++++++ > 2 files changed, 18 insertions(+) > >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index ccedbf901e..c7b21c6949 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -288,6 +288,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('IllLog', 0, '', 'If ON, log information about ILL requests', 'YesNo'), > ('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'), > ('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'), >+('ILLModuleDisclaimerByType','','','YAML defining disclaimer settings for each ILL request type','Textarea'), > ('ILLModuleUnmediated','0','','If enabled, try to immediately progress newly placed ILL requests.','YesNo'), > ('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'), > ('ILLSendStaffNotices', NULL, NULL, 'Send these ILL notices to staff', 'multiple'), >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 2f724d4151..44ad9f8021 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 >@@ -12,6 +12,23 @@ Interlibrary loans: > - pref: ILLModuleCopyrightClearance > 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): <br><strong> >+ all:<br> >+ text: |<br> >+ <h2>HTML title</h2><br> >+ <p>This is an HTML paragraph</p><br> >+ <p>This is another HTML paragraph</p><br> >+ av_category_code: YES_NO<br> >+ article:<br> >+ text: copyright text for all article type requests<br> >+ av_category_code: YES_NO<br> >+ bypass: 1<br> >+ </strong>" >+ - pref: ILLModuleDisclaimerByType >+ type: textarea >+ syntax: text/x-yaml >+ class: code > - > - pref: ILLModuleUnmediated > default: 0 >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33716
:
151027
|
151031
|
151032
|
151033
|
151034
|
151035
|
151146
|
151147
|
151148
|
151149
|
151150
|
151388
|
151389
|
151390
|
151391
|
151392
|
151393
|
151394
|
151401
|
151402
|
151403
|
151404
|
151405
|
151406
|
151407
|
151408
|
151409
|
151410
|
151411
|
152809
|
152810
|
152811
|
152813
|
152814
|
152815
|
152816
|
152817
|
152818
|
152819
|
152820
|
152821
|
152822
|
152823
|
152826
|
154305
|
154454
|
154714