@@ -81,4 +82,8 @@ class PipelineEntity < Grape::Entity
...
@@ -81,4 +82,8 @@ class PipelineEntity < Grape::Entity
defdetailed_status
defdetailed_status
pipeline.detailed_status(request.user)
pipeline.detailed_status(request.user)
end
end
defstatus_tooltip
"This pipeline is redundant as a newer pipeline exists (canceled by ##{pipeline.auto_canceled_by_id} pipeline)"ifpipeline.auto_canceled_by_id?&&pipeline.canceled?