Bug 24327: Add warning to the about page is AnonSugggestions but AnonymousPatron
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 2 Jan 2020 10:26:49 +0000 (11:26 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 8 Jan 2020 14:13:28 +0000 (14:13 +0000)
commit3c2e40c224e1aac8628e994bb7e15170faea88e8
treef099bb828527d295975f90ba56a2f6fa2b426e51
parent73300e3c003d0698a5a7b6e13a8d28fe2f0a3c41
Bug 24327: Add warning to the about page is AnonSugggestions but AnonymousPatron

This patch adds a warning to the about page if AnonSuggestions is set
but AnonymousPatron.

Test plan:
Turn on AnonSuggestions and set AnonymousPatron to 0
=> You see a warning on the about page
Turn on AnonSuggestions and set AnonymousPatron to an invalid value
=> You see a warning on the about page
Turn off AnonSuggestions
=> No warning
Turn on AnonSuggestions and set AnonymousPatron to a valid value
=> No warning

Signed-off-by: hc <hc@interleaf.ie>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
about.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt