From 8301abf586b9b2891976d847e959b512a3fcd4a1 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 Signed-off-by: Lisette Scheer --- .../prog/en/includes/permissions.inc | 6 ++++++ .../en/modules/admin/preferences/opac.pref | 20 +++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc index a8bfd89e02..e38b3c9e08 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc @@ -846,5 +846,11 @@ Manage authentication providers ([% name | html %]) + [%# digital_signs %] + [%- CASE 'edit_digital_signs' -%] + + Create and edit digital signs for the OPAC + + ([% name | html %]) [%- 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 09e4439b4e..57cef5a92f 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 @@ -925,3 +925,23 @@ OPAC: 1: "Don't allow" 0: Allow - patrons to login by means other than Shibboleth. + + 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. -- 2.20.1