diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-12-29 15:55:21 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-12-29 15:55:21 +0200 |
commit | cf9573686586fafc199c6178b672f9ee617476d2 (patch) | |
tree | 21aaa5601ead31e3cacd8a3ccf7d2eed5a2e19de /app/views/profiles/notifications | |
parent | 6aec286fca169502edd4c643a6d2202a012fa142 (diff) | |
download | gitlab-ce-cf9573686586fafc199c6178b672f9ee617476d2.tar.gz |
New feature: add 'Mention' notification level
It does disable all emails expect system one or when you was @mentioned
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/profiles/notifications')
-rw-r--r-- | app/views/profiles/notifications/show.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/profiles/notifications/show.html.haml b/app/views/profiles/notifications/show.html.haml index a044fad8fa3..96fe91b9b20 100644 --- a/app/views/profiles/notifications/show.html.haml +++ b/app/views/profiles/notifications/show.html.haml @@ -17,6 +17,13 @@ .radio = label_tag nil, class: '' do + = radio_button_tag :notification_level, Notification::N_MENTION, @notification.mention?, class: 'trigger-submit' + .level-title + Mention + %p You will receive notifications only for comments where you was @mentioned + + .radio + = label_tag nil, class: '' do = radio_button_tag :notification_level, Notification::N_PARTICIPATING, @notification.participating?, class: 'trigger-submit' .level-title Participating |