From eb26cb8e6a0ed07f96f56b5d340f448d286f1f54 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 4 Oct 2024 16:23:45 +0100 Subject: [PATCH] Bug 35267: Add preferences to UI Sponsored-by: PTFS Europe --- .../admin/preferences/circulation.pref | 7 +--- .../admin/preferences/staff_interface.pref | 7 +--- .../en/modules/admin/preferences/tools.pref | 42 ++++++++++++++++++- 3 files changed, 43 insertions(+), 13 deletions(-) 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 7192181ea4e..b18af6bcb2b 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 @@ -136,11 +136,6 @@ Circulation: qslip: "open a print quick slip window" slip: "open a print slip window" - . - - - - Include the stylesheet at - - pref: NoticeCSS - class: url - - on notices (this should be a complete URL, starting with http://). - - pref: UpdateTotalIssuesOnCirc choices: @@ -1514,4 +1509,4 @@ Circulation: choices: 1: Enable 0: Disable - - "the curbside pickup module." + - "the curbside pickup module." \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref index 8da36fceb14..f445ee5340f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref @@ -102,11 +102,6 @@ Staff interface: Results: "Result page" Both: "Both result and detail pages" - '. Note: The corresponding XSLT option must be turned on.' - - - - Include the stylesheet at - - pref: SlipCSS - class: url - - on Issue and Hold Slips. (This should be a complete URL, starting with http://.) - - "Show the following HTML in its own div on the bottom of the home page of the circulation module:" - pref: IntranetCirculationHomeHTML @@ -216,4 +211,4 @@ Staff interface: "enforced": Enforce "enabled": Enable "disabled": "Don't enable" - - two-factor authentication (2FA) for staff members. + - two-factor authentication (2FA) for staff members. \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref index 195513cf46c..79af469d8dd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref @@ -27,6 +27,46 @@ Tools: - pref: ImageLimit class: Integer - images. + Notices and slips: + - + - Include the stylesheet at + - pref: AllNoticeStylesheet + class: url + - on notices regarless of message transport type. (This should be a complete URL, starting with http://.) + - + - "Include the following CSS on all notices regardless of message transport:" + - pref: AllNoticeCSS + type: textarea + syntax: css + class: code + - + - Include the stylesheet at + - pref: EmailNoticeStylesheet + class: url + - on email notices. (This should be a complete URL, starting with http://.) + - + - "Include the following CSS on all email notices:" + - pref: EmailNoticeCSS + type: textarea + syntax: css + class: code + - + - "Include the following CSS on all print notices:" + - pref: PrintNoticeCSS + type: textarea + syntax: css + class: code + - + - Include the stylesheet at + - pref: PrintSlipStylesheet + class: url + - on print slips. (This should be a complete URL, starting with http://.) + - + - "Include the following CSS on all print slips:" + - pref: PrintSlipCSS + type: textarea + syntax: css + class: code News: - - "Show the author for news items:" @@ -49,4 +89,4 @@ Tools: - Automatically delete temporary uploads older than - pref: UploadPurgeTemporaryFilesDays class: integer - - "days in cleanup_database cron job. NOTE: If you leave this field empty, the cron job will not delete any files. On the other hand a value of 0 means: delete all temporary files." + - "days in cleanup_database cron job. NOTE: If you leave this field empty, the cron job will not delete any files. On the other hand a value of 0 means: delete all temporary files." \ No newline at end of file -- 2.48.1