]> git.koha-community.org Git - koha.git/commit
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)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Fri, 29 Apr 2016 02:48:30 +0000 (02:48 +0000)
commit95f492b4d2505103269b295a34bab74804df9746
tree56dbce94f30986be37df62cbaf39ca9784a7fb77
parentb84aa1779e0aa09c1a307e195908a205ea82aa88
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>
about.pl
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref