diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-10-28 21:22:04 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-10-28 21:35:03 -0500 |
commit | 3de376650c700be81d893554b90ac8ce27646333 (patch) | |
tree | d3b0ca2da8b5f4f4f4cca5e5602293d8f89f50c4 /app/views/settings | |
parent | f12ad9098f0608f558b92e36b4adeef2e8c28604 (diff) |
Make push notifications optional
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/preferences/notifications/show.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/settings/preferences/notifications/show.html.haml b/app/views/settings/preferences/notifications/show.html.haml index d7cc1ed5d..9cbdfc3cd 100644 --- a/app/views/settings/preferences/notifications/show.html.haml +++ b/app/views/settings/preferences/notifications/show.html.haml @@ -7,6 +7,11 @@ = simple_form_for current_user, url: settings_preferences_notifications_path, html: { method: :put, id: 'edit_notification' } do |f| = render 'shared/error_messages', object: current_user + %h4= t 'notifications.web_settings' + + .fields-group + = f.input :setting_web_push, as: :boolean, wrapper: :with_label + %h4= t 'notifications.email_events' %p.hint= t 'notifications.email_events_hint' |