summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-02-13 18:36:47 +0000
committerDouwe Maan <douwe@gitlab.com>2017-02-13 18:36:47 +0000
commit5e9666880376b3f53edb95cba77b5642d3cc1810 (patch)
treec41d0997dbfa7211d3f66ffd0cf3cc2b88d7221e /app/views
parentb35378a938e22f745b6c6ea32b53cb50f9b6c627 (diff)
parent9493791d1212f484217e74757550353a5ef07dcf (diff)
downloadgitlab-ce-5e9666880376b3f53edb95cba77b5642d3cc1810.tar.gz
Merge branch 'option-to-be-notified-of-own-activity' into 'master'
Add option to receive email notifications about your own activity See merge request !8836
Diffstat (limited to 'app/views')
-rw-r--r--app/views/profiles/notifications/show.html.haml5
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})