about summary refs log tree commit diff
path: root/app/views/admin/dashboard
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-17 21:09:15 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-07-17 21:09:15 +0200
commit7e2b6da57f7689757a50fa261c480445b1846703 (patch)
tree1c9ecca76fcf3ce743c372314188361e429ed1f1 /app/views/admin/dashboard
parentfccd25cf5397f8c2ee2df98e0cc46be3c2b1ea5d (diff)
Add setting to disable the anti-spam (#11296)
* Add environment variable to disable the anti-spam

* Move antispam setting to admin settings

* Fix typo

* antispam → spam_check
Diffstat (limited to 'app/views/admin/dashboard')
-rw-r--r--app/views/admin/dashboard/index.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/admin/dashboard/index.html.haml b/app/views/admin/dashboard/index.html.haml
index d448e3862..77cc1a2a0 100644
--- a/app/views/admin/dashboard/index.html.haml
+++ b/app/views/admin/dashboard/index.html.haml
@@ -51,6 +51,8 @@
           = feature_hint(link_to(t('admin.dashboard.feature_timeline_preview'), edit_admin_settings_path), @timeline_preview)
         %li
           = feature_hint(link_to(t('admin.dashboard.feature_relay'), admin_relays_path), @relay_enabled)
+        %li
+          = feature_hint(link_to(t('admin.dashboard.feature_spam_check'), edit_admin_settings_path), @spam_check_enabled)
 
   .dashboard__widgets__versions
     %div