]> git.koha-community.org Git - koha.git/commit
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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 24 Feb 2020 13:17:15 +0000 (13:17 +0000)
commitdb2cf80a7a85e3d9db0965509c11411c53b997c4
treeb1cac501d948af7864225c03eb56690d164eab2c
parent18afaf438b2f1d8ae602dae1531d08bc41e4e241
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref