From 0c193a94eecc1567596c7774fc4c583555b26516 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 --- .../intranet-tmpl/prog/en/includes/permissions.inc | 6 ++++++ .../prog/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 eabe4d51ee..b9925be96b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc @@ -773,5 +773,11 @@ Manage OPAC problem reports ([% 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 67ef50a828..f621f2180e 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 @@ -939,3 +939,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.11.0