diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-09-02 00:11:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-02 00:11:58 +0200 |
commit | c593d6df9cecabed5becf4e16c3d3b2e3de99d76 (patch) | |
tree | 9554f87ad1aeb754e6f9fdc63df135361806684c /app/views/settings | |
parent | a060beee726de5295e1f608231975a90b7709a0a (diff) |
Add preference for report notification e-mails, skip for duplicates (#8559)
If an unresolved report for the same target account already exists, no new notification is generated
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/notifications/show.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/settings/notifications/show.html.haml b/app/views/settings/notifications/show.html.haml index b718b62df..8aaac043b 100644 --- a/app/views/settings/notifications/show.html.haml +++ b/app/views/settings/notifications/show.html.haml @@ -12,6 +12,9 @@ = ff.input :favourite, as: :boolean, wrapper: :with_label = ff.input :mention, as: :boolean, wrapper: :with_label + - if current_user.staff? + = ff.input :report, as: :boolean, wrapper: :with_label + .fields-group = f.simple_fields_for :notification_emails, hash_to_object(current_user.settings.notification_emails) do |ff| = ff.input :digest, as: :boolean, wrapper: :with_label |