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)
committerJoy Nelson <joy@bywatersolutions.com>
Tue, 14 Jan 2020 01:20:26 +0000 (01:20 +0000)
commit707f92b64915a14f935648269f3773fa64e7a8fd
tree2c984507589604fd381e2c4aa1720a29c85533ae
parentb84aee8a0f636eddf0ac7bb2bdebce0b1c520407
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
about.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt