Skip to content
Snippets Groups Projects

Integrate CI emails into notification system

Merged Lin Jen-Shin requested to merge pipeline-notifications into master
All threads resolved!
Compare and
23 files
+ 344
136
Compare changes
  • Side-by-side
  • Inline
Files
23
@@ -74,4 +74,13 @@ module NotificationsHelper
return unless notification_setting.source_type
hidden_field_tag "#{notification_setting.source_type.downcase}_id", notification_setting.source_id
end
def notification_event_name(event)
case event
when :success_pipeline
'Successful pipeline'
else
event.to_s.humanize
end
end
end
Loading