Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-29 16:55:21 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-29 16:55:21 +0300
commitcf9573686586fafc199c6178b672f9ee617476d2 (patch)
tree21aaa5601ead31e3cacd8a3ccf7d2eed5a2e19de /app/views/profiles
parent6aec286fca169502edd4c643a6d2202a012fa142 (diff)
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')
-rw-r--r--app/views/profiles/notifications/show.html.haml7
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