diff options
author | Darius Kazemi <darius@meedan.com> | 2023-01-13 08:14:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 17:14:39 +0100 |
commit | 507e1d22f580b23d47d8dc0cb47f6f0b3170fc56 (patch) | |
tree | f5e2812f5bc5e348333e03c34a21fe345a6bfc90 /app | |
parent | 745bdb11a0d81cc4aff3fe3bba5eecdb8671a632 (diff) |
Allow admins to toggle public statistics API (#22833)
* Allow admins to toggle public statistics API * Normalize i18n Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/settings/discovery/show.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/admin/settings/discovery/show.html.haml b/app/views/admin/settings/discovery/show.html.haml index 17c9e93dd..59188833b 100644 --- a/app/views/admin/settings/discovery/show.html.haml +++ b/app/views/admin/settings/discovery/show.html.haml @@ -29,6 +29,11 @@ .fields-group = f.input :noindex, as: :boolean, wrapper: :with_label, label: t('admin.settings.default_noindex.title'), hint: t('admin.settings.default_noindex.desc_html') + %h4= t('admin.settings.discovery.publish_statistics') + + .fields-group + = f.input :activity_api_enabled, as: :boolean, wrapper: :with_label, recommended: :recommended + %h4= t('admin.settings.discovery.publish_discovered_servers') .fields-group |