diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-08-14 11:38:50 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-08-14 11:38:50 +0000 |
commit | 3ae483dea3275939e8124f9038daf48bba6dbff6 (patch) | |
tree | add54e6e934e59261b80850552cc44f9ae049d57 /app/views | |
parent | f271d9b0758850c74e560845a60129034010dfda (diff) | |
parent | f8ee861cd42b35ff5d35c18dafbe4d1c425af926 (diff) | |
download | gitlab-ce-3ae483dea3275939e8124f9038daf48bba6dbff6.tar.gz |
Merge branch 'ee-5863-customize-notifications-for-new-epic' into 'master'
Backport of EE changes "Customize notifications for new epic - Web and API"
See merge request gitlab-org/gitlab-ce!20793
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/shared/notifications/_custom_notifications.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/notifications/_custom_notifications.html.haml b/app/views/shared/notifications/_custom_notifications.html.haml index 1f6e8f98bbb..43a87fd8397 100644 --- a/app/views/shared/notifications/_custom_notifications.html.haml +++ b/app/views/shared/notifications/_custom_notifications.html.haml @@ -19,7 +19,7 @@ - paragraph = _('Custom notification levels are the same as participating levels. With custom notification levels you will also receive notifications for select events. To find out more, check out %{notification_link}.') % { notification_link: notification_link.html_safe } #{ paragraph.html_safe } .col-lg-8 - - NotificationSetting::EMAIL_EVENTS.each_with_index do |event, index| + - notification_setting.email_events.each_with_index do |event, index| - field_id = "#{notifications_menu_identifier("modal", notification_setting)}_notification_setting[#{event}]" .form-group .form-check{ class: ("prepend-top-0" if index == 0) } |