summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_commit_box.html.haml
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-19 14:02:12 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-28 09:00:30 -0500
commit240b35b130e9391714088c52260e66cb4bfd165e (patch)
tree7e7112db998ce10e1126881ad9edea161148bd45 /app/views/projects/commit/_commit_box.html.haml
parent2949f9b453d554bd1d9343df255b47bb3f98d182 (diff)
downloadgitlab-ce-240b35b130e9391714088c52260e66cb4bfd165e.tar.gz
Fix commits spec
Diffstat (limited to 'app/views/projects/commit/_commit_box.html.haml')
-rw-r--r--app/views/projects/commit/_commit_box.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml
index c8a9358fa64..351ab4148f5 100644
--- a/app/views/projects/commit/_commit_box.html.haml
+++ b/app/views/projects/commit/_commit_box.html.haml
@@ -65,12 +65,12 @@
%span.commit-info.branches
%i.fa.fa-spinner.fa-spin
- .widget-row.pipeline-info
- - if @commit.status
+ - if @commit.status
+ .widget-row.pipeline-info
.icon-container
= ci_icon_for_status(@commit.status)
Pipeline
- = link_to "##{@commit.pipelines.last.id}", pipelines_namespace_project_commit_path(@project.namespace, @project, @commit.id), class: "monospace"
+ = link_to "##{@commit.pipelines.first.id}", pipelines_namespace_project_commit_path(@project.namespace, @project, @commit.id), class: "monospace"
for
= link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace"
%span.ci-status-label