about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-25 13:13:16 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-25 13:13:16 +0100
commit71401659b812b8768fe70aa27221e3319ee1c434 (patch)
tree6a1002f53d00866f2f79564bc979d2afe9ac715b /app/views
parente3ed212b859a7bec6b26c3d52e6f7ea14069f76d (diff)
Fix #65 - Options to block notifications from people you don't follow/who don't follow you
Diffstat (limited to 'app/views')
-rw-r--r--app/views/settings/preferences/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml
index 693702ff7..db5b9fb48 100644
--- a/app/views/settings/preferences/show.html.haml
+++ b/app/views/settings/preferences/show.html.haml
@@ -12,6 +12,10 @@
     = ff.input :favourite, as: :boolean, wrapper: :with_label
     = ff.input :mention, as: :boolean, wrapper: :with_label
 
+  = f.simple_fields_for :interactions, current_user.settings(:interactions) do |ff|
+    = ff.input :must_be_follower, as: :boolean, wrapper: :with_label
+    = ff.input :must_be_following, as: :boolean, wrapper: :with_label
+
   .actions
     = f.button :button, t('generic.save_changes'), type: :submit