diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-11-30 17:29:44 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-11-30 17:29:44 +0100 |
commit | 2b7158427f5a80728dfc04913a4d7a78471a1703 (patch) | |
tree | 4d55c1f3502880bb0f20cd1daab081a8685d0f0c /app/views/settings/preferences | |
parent | 93b8aec7b7cd6af1b6ef6385cfe138fb32dee6e9 (diff) | |
parent | b532ead798c481fd03be9eb78e910d62654cdaa8 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/views/settings/preferences')
-rw-r--r-- | app/views/settings/preferences/notifications/show.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/settings/preferences/notifications/show.html.haml b/app/views/settings/preferences/notifications/show.html.haml index f666ae4ff..f71b930e7 100644 --- a/app/views/settings/preferences/notifications/show.html.haml +++ b/app/views/settings/preferences/notifications/show.html.haml @@ -4,6 +4,10 @@ = simple_form_for current_user, url: settings_preferences_notifications_path, html: { method: :put } do |f| = render 'shared/error_messages', object: current_user + %h4= t('notifications.email_events') + + %p.hint = t('notifications.email_events_hint') + .fields-group = f.simple_fields_for :notification_emails, hash_to_object(current_user.settings.notification_emails) do |ff| = ff.input :follow, as: :boolean, wrapper: :with_label @@ -21,6 +25,8 @@ = f.simple_fields_for :notification_emails, hash_to_object(current_user.settings.notification_emails) do |ff| = ff.input :digest, as: :boolean, wrapper: :with_label + %h4 = t('notifications.other_settings') + .fields-group = f.simple_fields_for :interactions, hash_to_object(current_user.settings.interactions) do |ff| = ff.input :must_be_follower, as: :boolean, wrapper: :with_label |