]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 8 Apr 2020 14:52:48 +0000 (14:52 +0000)
commitc9154e6e83614f4808d529a967e150e6b08bcd41
treef833e60872b09ee57d9815e2243780c8a31e4d3a
parentf6d61ce5e07c633143843604722f29b0d92d8fce
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>
(cherry picked from commit 60a0c1c51cc4667eefa62232d7a45a823168a378)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref