diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2016-10-19 14:02:12 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2016-10-28 09:00:30 -0500 |
commit | 240b35b130e9391714088c52260e66cb4bfd165e (patch) | |
tree | 7e7112db998ce10e1126881ad9edea161148bd45 /app | |
parent | 2949f9b453d554bd1d9343df255b47bb3f98d182 (diff) | |
download | gitlab-ce-240b35b130e9391714088c52260e66cb4bfd165e.tar.gz |
Fix commits spec
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/commit/_commit_box.html.haml | 6 |
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 |