Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-07-15 17:35:48 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-15 17:35:48 +0300
commit3a3d999601ded922acca5a8f7a5f374f9690c1e0 (patch)
tree46722eef425e6c37aa474c25bd34bc2408439def /app/views/projects/ci
parent50abec8ca36c5cbdb1f7878b3ac956211fc67d3d (diff)
Fix stage status shown for pipelines
Diffstat (limited to 'app/views/projects/ci')
-rw-r--r--app/views/projects/ci/pipelines/_pipeline.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/ci/pipelines/_pipeline.html.haml b/app/views/projects/ci/pipelines/_pipeline.html.haml
index b53a8633937..0a103e58db3 100644
--- a/app/views/projects/ci/pipelines/_pipeline.html.haml
+++ b/app/views/projects/ci/pipelines/_pipeline.html.haml
@@ -32,7 +32,7 @@
Cant find HEAD commit for this branch
- - stages_status = pipeline.statuses.stages_status
+ - stages_status = pipeline.statuses.latest.stages_status
- stages.each do |stage|
%td
- status = stages_status[stage]