Bug 24682: Make UsageStatsGeolocation readonly (and redirect to the config page)
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 21 Feb 2020 09:31:54 +0000 (10:31 +0100)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 30 Mar 2020 21:45:45 +0000 (21:45 +0000)
commit60a0c1c51cc4667eefa62232d7a45a823168a378
treecab1a085e6ebae22f7c695a75f75411b5d17d234
parent91da9841d78d26db205c6493c27c174c20e7b7c2
Bug 24682: Make UsageStatsGeolocation readonly (and redirect to the config page)

To prevent invalid values in this pref (and so on the server), we should
make this input readonly on the syspref page.
The sysprefs related to Hea should be edited from the dedicated page, so
also adding a note about that.

Test plan:
Search syspref with "UsageStats"
Notice the note about the admin page
Notice the UsageStatsGeolocation input is now readonly (and resized, to
display the whole value when filled)

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref