about summary refs log tree commit diff
path: root/app/views/settings
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-04-08 18:03:31 +0200
committerGitHub <noreply@github.com>2022-04-08 18:03:31 +0200
commit8e20e16cf030fef48850df4764bbf13a317f6b0c (patch)
tree3ae94f1665c7cc80df310edf688758dd67cd69e5 /app/views/settings
parentfd9a9b07c2cd19ef08d15e138fd3fc59fc5318b6 (diff)
Change e-mail notifications to only be sent when recipient is offline (#17984)
* Change e-mail notifications to only be sent when recipient is offline

Change the default for follow and mention notifications back on

* Add preference to always send e-mail notifications

* Change wording
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/preferences/notifications/show.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/settings/preferences/notifications/show.html.haml b/app/views/settings/preferences/notifications/show.html.haml
index 223e5d740..42754a852 100644
--- a/app/views/settings/preferences/notifications/show.html.haml
+++ b/app/views/settings/preferences/notifications/show.html.haml
@@ -26,6 +26,9 @@
         = ff.input :trending_tag, as: :boolean, wrapper: :with_label
 
   .fields-group
+    = f.input :setting_always_send_emails, 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