diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-14 22:44:35 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-14 22:45:11 +0300 |
commit | 8c93b6051fdc7bb59af2e6bf2f5b3a1817a73ceb (patch) | |
tree | 0bfb05abbd63aa85a67c72595489730649f20a01 /app/views/projects/ci | |
parent | a6b8d36ae933c3f21e7ba2c17864c6d8bf626d25 (diff) |
Revert `stages` change
Diffstat (limited to 'app/views/projects/ci')
-rw-r--r-- | app/views/projects/ci/commits/_commit.html.haml | 3 |
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) |