summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_commit_box.html.haml
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-11-07 11:38:23 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-11-07 11:38:23 +0000
commit091f6387e4a9602e3213bbcfff1d51209d7efed4 (patch)
tree880d08ffacbc69babc3b090babf1dcb45ad0a809 /app/views/projects/commit/_commit_box.html.haml
parent8138d58d42cb128995b1f9d9ceab7f773c3300e3 (diff)
downloadgitlab-ce-091f6387e4a9602e3213bbcfff1d51209d7efed4.tar.gz
Fix commit pipeline showing wrong status39878-commit-pipeline-reads-wrong-key
Diffstat (limited to 'app/views/projects/commit/_commit_box.html.haml')
-rw-r--r--app/views/projects/commit/_commit_box.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index ff17372fdd9..3f4415f9e5e 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -67,7 +67,7 @@
- if @commit.last_pipeline
- last_pipeline = @commit.last_pipeline
.well-segment.pipeline-info
- .status-icon-container{ class: "ci-status-icon-#{@commit.status}" }
+ .status-icon-container{ class: "ci-status-icon-#{last_pipeline.status}" }
= link_to project_pipeline_path(@project, last_pipeline.id) do
= ci_icon_for_status(last_pipeline.status)
#{ _('Pipeline') }