summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-08-14 11:38:50 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-08-14 11:38:50 +0000
commit3ae483dea3275939e8124f9038daf48bba6dbff6 (patch)
treeadd54e6e934e59261b80850552cc44f9ae049d57 /app/views
parentf271d9b0758850c74e560845a60129034010dfda (diff)
parentf8ee861cd42b35ff5d35c18dafbe4d1c425af926 (diff)
downloadgitlab-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.haml2
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) }