From cf9573686586fafc199c6178b672f9ee617476d2 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 29 Dec 2014 15:55:21 +0200 Subject: New feature: add 'Mention' notification level It does disable all emails expect system one or when you was @mentioned Signed-off-by: Dmitriy Zaporozhets --- app/views/profiles/notifications/show.html.haml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/views/profiles/notifications') 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 @@ -15,6 +15,13 @@ Disabled %p You will not get any notifications via email + .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' -- cgit v1.2.1