Bug 12721 - Syspref StatisticsFields: Warning on About page and text change in System...
authorMarc Véron <veron@veron.ch>
Sun, 18 Oct 2015 16:27:58 +0000 (18:27 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 9 May 2016 08:40:44 +0000 (10:40 +0200)
commitf6694ce92ff4b60aea1234e9a138853fb0406f18
tree843a0debb5679e82a4782da24885d10973d77e77
parentcb2d9d992245727d8445290f81fec3a05b9fa1a9
Bug 12721 - Syspref StatisticsFields: Warning on About page and text change in System preferences

This patch adds a warning to the about page if the syspref 'StatisticsFields' is misconfigured.
Additionally, the text on Home > Administration > SystemPreferences for 'Statistics Fields'
is changed.

To test:
- Apply patch
- Edit syspref 'StatisticsFields'. Verify that the explanation makes sense.
- Leave field empty
  => verify that no message appears on About page, tab System information
- Insert valid field names, e.g. location|itype
  => verify that no message appears on the About page
- Add trailing char
  => verify that the warning message appears on the About page
- Fill in some garbage or misspell a field name
  => verify that the warning message appears on the About page

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 95f492b4d2505103269b295a34bab74804df9746)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
about.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref