From f34c86b0067ad34a456d5e02f11064c0b87cdeda 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: Open Fifth --- .../admin/preferences/circulation.pref | 5 --- .../admin/preferences/staff_interface.pref | 5 --- .../en/modules/admin/preferences/tools.pref | 42 ++++++++++++++++++- 3 files changed, 41 insertions(+), 11 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 82070552d6c..a62ce0cd8c9 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: 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 8dd0817a3a8..20af2e790fb 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 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.51.0