about summary refs log tree commit diff
path: root/app/views/admin/settings/discovery/show.html.haml
diff options
context:
space:
mode:
authorprplecake <me@prplecake.com>2022-12-11 00:27:44 -0600
committerGitHub <noreply@github.com>2022-12-11 07:27:44 +0100
commit714e68db38b4fe115cf96fd7b9805909c4319b67 (patch)
tree6220ed78b467fdee9d9a5b654b31c54520a5d79d /app/views/admin/settings/discovery/show.html.haml
parentad568924c064c41e056dfec651217dbe7bb637fc (diff)
Add noindex setting to Admin settings Discovery page (#22205)
* Add noindex setting to Admin settings Discovery page

* Replace default_noindex i18n
Diffstat (limited to 'app/views/admin/settings/discovery/show.html.haml')
-rw-r--r--app/views/admin/settings/discovery/show.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/admin/settings/discovery/show.html.haml b/app/views/admin/settings/discovery/show.html.haml
index b429cdd7b..f60d1c766 100644
--- a/app/views/admin/settings/discovery/show.html.haml
+++ b/app/views/admin/settings/discovery/show.html.haml
@@ -26,6 +26,9 @@
   .fields-group
     = f.input :timeline_preview, as: :boolean, wrapper: :with_label
 
+  .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.follow_recommendations')
 
   .fields-group