summaryrefslogtreecommitdiff
path: root/app/views/shared/notifications/_custom_notifications.html.haml
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-09-30 01:15:03 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-10-17 07:25:21 +0000
commit6bab69aa0c0a6383a7eda5d74504939891f30f41 (patch)
tree028f7159f70a24546a77230a985a73b0aa9dd4b6 /app/views/shared/notifications/_custom_notifications.html.haml
parent8dd580f4022fa01521264cfbd6eaeb92d39430b5 (diff)
downloadgitlab-ce-6bab69aa0c0a6383a7eda5d74504939891f30f41.tar.gz
Show it as successful pipeline, rather than success pipeline
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6342#note_16132150
Diffstat (limited to 'app/views/shared/notifications/_custom_notifications.html.haml')
-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 b704981e3db..a82fc95df84 100644
--- a/app/views/shared/notifications/_custom_notifications.html.haml
+++ b/app/views/shared/notifications/_custom_notifications.html.haml
@@ -27,5 +27,5 @@
%label{ for: field_id }
= check_box("notification_setting", event, id: field_id, class: "js-custom-notification-event", checked: notification_setting.events[event])
%strong
- = event.to_s.humanize
+ = notification_event_name(event)
= icon("spinner spin", class: "custom-notification-event-loading")