about summary refs log tree commit diff
path: root/app/views/admin/settings/discovery
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-01-14 22:34:09 +0100
committerClaire <claire.github-309c@sitedethib.com>2023-01-14 22:34:09 +0100
commitab59743c131574076af7fa3640493a866c4528ad (patch)
treec06274b2eaaf6fdb6d1ffb8c2d0ff6b94befdf6b /app/views/admin/settings/discovery
parentafd0d424da4928b9e20a3c7a943f970252ed3a29 (diff)
parentd66dfc7b3c1b62a0d5276387ea8745da598afacc (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts:
- `app/views/layouts/mailer.html.haml`:
  Upstream removed a line close to one modified by glitch-soc.
  Removed the line as upstream did.
Diffstat (limited to 'app/views/admin/settings/discovery')
-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