diff options
author | Richard Macklin <richard.github@nrm.com> | 2017-01-27 01:32:00 -0800 |
---|---|---|
committer | Richard Macklin <richard.github@nrm.com> | 2017-02-01 11:31:22 -0800 |
commit | 530d0fda7b97a9a3d8836a36b02e50bc5d408464 (patch) | |
tree | b9bc6d51266315e7847ac7c1c0271f9b8e65a01c /app/views/profiles/notifications | |
parent | 3e81bc7b1daec9dfda602165d7e36cf5b6a39e20 (diff) | |
download | gitlab-ce-530d0fda7b97a9a3d8836a36b02e50bc5d408464.tar.gz |
Add checkbox in UI to opt into receiving notifications about your activity
Diffstat (limited to 'app/views/profiles/notifications')
-rw-r--r-- | app/views/profiles/notifications/show.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/profiles/notifications/show.html.haml b/app/views/profiles/notifications/show.html.haml index 5c5e5940365..51c4e8e5a73 100644 --- a/app/views/profiles/notifications/show.html.haml +++ b/app/views/profiles/notifications/show.html.haml @@ -34,6 +34,11 @@ .clearfix + = form_for @user, url: profile_notifications_path, method: :put do |f| + %label{ for: 'user_notified_of_own_activity' } + = f.check_box :notified_of_own_activity + %span Receive notifications about your own activity + %hr %h5 Groups (#{@group_notifications.count}) |