From 9dcdf81c81077bf3b56b0dd4e158d25e251e9a98 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 23 Apr 2019 22:35:06 +0000 Subject: [PATCH] Bug 8628: Digital signs - preferences and permissions --- .../intranet-tmpl/prog/en/includes/permissions.inc | 4 ++++ .../prog/en/modules/admin/preferences/opac.pref | 21 ++++++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc index 0e40101..09347d4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc @@ -667,5 +667,9 @@ Create, edit and delete rotas ([% name | html %]) + [%- CASE 'edit_digital_signs' -%] + + Create and edit digital signs for the OPAC + [%- END -%] [%- END -%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref index a8c383b..c8db7e8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref @@ -800,8 +800,27 @@ OPAC: no: "Do not display and prefill" - "password and login form after a patron has self registered." - Advanced Search Options: + Digital Signs: + - + - pref: OPACDigitalSigns + default: 0 + choices: + yes: Enable + no: Disable + - "digital signs in the OPAC. Please note: Digital signs are not linked to from the OPAC by default, so you will have to load the relevant URL by hand on displays where you want to use them." - + - "Include the following CSS in all digital signs:" + - pref: OPACDigitalSignsCSS + type: textarea + class: code + - "(If you use this option to create custom swatches (e.g. with the ThemeRoller for jQuery Mobile) you might have to adjust the list of letters identifying available themes (swatches) in the OPACDigitalSignsSwatches preference.)" + - + - Make it possible to choose one of the themes (swatches) + - pref: OPACDigitalSignsSwatches + class: long + - when creating a new sign. By default the themes a-e are provided, but you can override these by creating your own themes and entering them into the OPACDigitalSignsCSS system preference. If you do add your own custom themes there you will want to adjust the letters in this system preference to match the themes you created. + + Advanced Search Options: - Show search options - pref: OpacAdvSearchOptions multiple: -- 2.1.4