From 17e9028cb099414c6b249acc8f984263a959c1e3 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 | 5 +++++ .../prog/en/modules/admin/preferences/opac.pref | 21 ++++++++++++++++++++- 2 files changed, 25 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 3f7cb44..9c347aa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc @@ -699,5 +699,10 @@ Access the point of sale page and take payments ([% name | html %]) + [%# digital_signs %] + [%- 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 9c9b2b7..9d4fc47 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 @@ -859,8 +859,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