about summary refs log tree commit diff
path: root/app/views/admin/settings
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-01-15 16:53:30 +0100
committerGitHub <noreply@github.com>2023-01-15 16:53:30 +0100
commit13227e1dafd308dfe1a3effc3379b766274809b3 (patch)
treec06274b2eaaf6fdb6d1ffb8c2d0ff6b94befdf6b /app/views/admin/settings
parentafd0d424da4928b9e20a3c7a943f970252ed3a29 (diff)
parentab59743c131574076af7fa3640493a866c4528ad (diff)
Merge pull request #2081 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/admin/settings')
-rw-r--r--app/views/admin/settings/discovery/show.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/admin/settings/discovery/show.html.haml b/app/views/admin/settings/discovery/show.html.haml
index 25b34acef..01e3124cf 100644
--- a/app/views/admin/settings/discovery/show.html.haml
+++ b/app/views/admin/settings/discovery/show.html.haml
@@ -29,6 +29,16 @@
   .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
+    = f.input :peers_api_enabled, as: :boolean, wrapper: :with_label, recommended: :recommended
+
   %h4= t('admin.settings.discovery.follow_recommendations')
 
   .fields-group