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-05-14 22:44:35 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-14 22:45:11 +0300
commit8c93b6051fdc7bb59af2e6bf2f5b3a1817a73ceb (patch)
tree0bfb05abbd63aa85a67c72595489730649f20a01 /app/views/projects/ci
parenta6b8d36ae933c3f21e7ba2c17864c6d8bf626d25 (diff)
Revert `stages` change
Diffstat (limited to 'app/views/projects/ci')
-rw-r--r--app/views/projects/ci/commits/_commit.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/ci/commits/_commit.html.haml b/app/views/projects/ci/commits/_commit.html.haml
index 7f9a3417836..90ac41666d0 100644
--- a/app/views/projects/ci/commits/_commit.html.haml
+++ b/app/views/projects/ci/commits/_commit.html.haml
@@ -31,9 +31,10 @@
Cant find HEAD commit for this branch
+ - stages_status = commit.statuses.stages_status
- stages.each do |stage|
%td
- - if status = commit.statuses.status_for_stage(stage)
+ - if status = stages_status[stage]
- tooltip = "#{stage.titleize}: #{status}"
%span.has-tooltip(title="#{tooltip}"){class: "ci-status-icon-#{status}"}
= ci_icon_for_status(status)