From d824526dcb2ce2d96a2e7c9c373248e814f36b58 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 20 Jan 2023 14:12:22 +0000 Subject: [PATCH] Bug 32546: Move ILL system preferences into their own tab in administration Without this patch the interlibrary loan related system preferences appeared on the circulation tab, that is already quite long. As ILL is a complete module, it deserves its own tab. To test: * Search for interlibrary loan related preferences in Admin, verify their number and location * Apply patch * Verfiy all the previously found preferences now appear on their own tab: Interlibrary loans Signed-off-by: David Nind Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 442c6c115e5b7d4b970a6b616269f3489b910b00) Signed-off-by: Jacob O'Mara --- .../prog/en/includes/prefs-menu.inc | 10 ++++ .../admin/preferences/circulation.pref | 53 ------------------ .../admin/preferences/interlibrary_loans.pref | 56 +++++++++++++++++++ 3 files changed, 66 insertions(+), 53 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc index 8be1e6243c..d59de66cf6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc @@ -89,6 +89,16 @@ [% END %] + [% IF ( interlibrary_loans ) %] +
  • + Interlibrary loans + [% PROCESS subtabs %] + [% ELSE %] +
  • + Interlibrary loans + [% END %] +
  • + [% IF ( local_use ) %]
  • Local use 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 e025fc6e9d..5379aa057b 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 @@ -1006,59 +1006,6 @@ Circulation: 1: block 0: allow - renewing of items from the staff interface and via the misc/cronjobs/automatic_renewals.pl cronjob. - Interlibrary loans: - - - - pref: ILLModule - default: 0 - choices: - 1: Enable - 0: Disable - - the interlibrary loans module (master switch). - - - - "Adding text will enable the copyright clearance stage in request creation. The text you enter will be the text displayed." - - pref: ILLModuleCopyrightClearance - type: textarea - class: long - - - - "Enabled ILL backends for OPAC initiated requests:" - - pref: ILLOpacbackends - class: multi - - (separated with |). If left empty, all installed backends will be enabled. - - - - pref: ILLModuleUnmediated - default: 0 - choices: - 1: Enable - 0: Disable - - unmediated interlibrary loan requests. If enabled and the ILL backend supports it, the newly created requests are immediately requested by backend. - - - - pref: CirculateILL - default: 0 - choices: - 1: Enable - 0: Disable - - the circulation of ILL requested items. - - - - pref: ILLCheckAvailability - default: 0 - choices: - 1: Check - 0: "Don't check" - - external sources for availability during the request process. - - - - "ILL statuses that are considered finished and should not be displayed in the ILL module: " - - pref: ILLHiddenRequestStatuses - class: multi - - (separated with |). If left empty, all ILL requests will be displayed. The request codes can be found in the ILLSTATUS authorized value category. - - - - "Send these ILL notices to staff when appropriate:" - - pref: ILLSendStaffNotices - class: multi - - "(separated with |). e.g. ILL_REQUEST_CANCEL|ILL_REQUEST_MODIFIED If left empty, no staff ILL notices will be sent." - - - - "Fallback email address for staff ILL notices to be sent to in the absence of a library address:" - - pref: ILLDefaultStaffEmail - class: email Fines Policy: - - pref: finesCalendar 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 new file mode 100644 index 0000000000..1b65089039 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/interlibrary_loans.pref @@ -0,0 +1,56 @@ +Interlibrary loans: + Features: + - + - pref: ILLModule + default: 0 + choices: + 1: Enable + 0: Disable + - the interlibrary loans module (master switch). + - + - "Adding text will enable the copyright clearance stage in request creation. The text you enter will be the text displayed." + - pref: ILLModuleCopyrightClearance + type: textarea + class: long + - + - pref: ILLModuleUnmediated + default: 0 + choices: + 1: Enable + 0: Disable + - unmediated interlibrary loan requests. If enabled and the ILL backend supports it, the newly created requests are immediately requested by backend. + - + - pref: CirculateILL + default: 0 + choices: + 1: Enable + 0: Disable + - the circulation of ILL requested items. + - + - pref: ILLCheckAvailability + default: 0 + choices: + 1: Check + 0: "Don't check" + - external sources for availability during the request process. + - + - "ILL statuses that are considered finished and should not be displayed in the ILL module: " + - pref: ILLHiddenRequestStatuses + class: multi + - (separated with |). If left empty, all ILL requests will be displayed. The request codes can be found in the ILLSTATUS authorized value category. + Notifications: + - + - "Send these ILL notices to staff when appropriate:" + - pref: ILLSendStaffNotices + class: multi + - "(separated with |). e.g. ILL_REQUEST_CANCEL|ILL_REQUEST_MODIFIED If left empty, no staff ILL notices will be sent." + - + - "Fallback email address for staff ILL notices to be sent to in the absence of a library address:" + - pref: ILLDefaultStaffEmail + class: email + OPAC: + - + - "Enabled ILL backends for OPAC initiated requests:" + - pref: ILLOpacbackends + class: multi + - (separated with |). If left empty, all installed backends will be enabled. -- 2.39.5