about summary refs log tree commit diff
path: root/app/views/admin/settings
diff options
context:
space:
mode:
authorTao Bror Bojlén <brortao@users.noreply.github.com>2019-09-11 07:44:58 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-09-11 08:44:58 +0200
commit4fe127664b0ae22a528b4a4467ab2de92e3da3ef (patch)
treeb285f6995811b10e198201b7694b60e80f93f7b8 /app/views/admin/settings
parent4faaa5b25e54f863fdf3a68edc5ca664e5a84e4c (diff)
add admin setting for default search engine indexing (fix #11750) (#11804)
Diffstat (limited to 'app/views/admin/settings')
-rw-r--r--app/views/admin/settings/edit.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/admin/settings/edit.html.haml b/app/views/admin/settings/edit.html.haml
index 28880c087..752386b3c 100644
--- a/app/views/admin/settings/edit.html.haml
+++ b/app/views/admin/settings/edit.html.haml
@@ -71,6 +71,9 @@
     .fields-group
       = f.input :trends, as: :boolean, wrapper: :with_label, label: t('admin.settings.trends.title'), hint: t('admin.settings.trends.desc_html')
 
+    .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')
+
   .fields-group
     = f.input :spam_check_enabled, as: :boolean, wrapper: :with_label, label: t('admin.settings.spam_check_enabled.title'), hint: t('admin.settings.spam_check_enabled.desc_html')