diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-25 13:13:16 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-25 13:13:16 +0100 |
commit | 71401659b812b8768fe70aa27221e3319ee1c434 (patch) | |
tree | 6a1002f53d00866f2f79564bc979d2afe9ac715b /app/views/settings | |
parent | e3ed212b859a7bec6b26c3d52e6f7ea14069f76d (diff) |
Fix #65 - Options to block notifications from people you don't follow/who don't follow you
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/preferences/show.html.haml | 4 |
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 |