Link to pipeline page from commit widget

This commit is contained in:
Annabel Dunstone Gray 2017-01-30 14:01:02 -06:00
parent d8b8168623
commit b61b45a759
1 changed files with 2 additions and 2 deletions

View File

@ -64,10 +64,10 @@
- if @commit.status
.well-segment.pipeline-info
%div{ class: "icon-container ci-status-icon-#{@commit.status}" }
= link_to pipelines_namespace_project_commit_path(@project.namespace, @project, @commit.id) do
= link_to namespace_project_pipeline_path(@project.namespace, @project, @commit.pipelines.last.id) do
= 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.last.id}", namespace_project_pipeline_path(@project.namespace, @project, @commit.pipelines.last.id), class: "monospace"
for
= link_to @commit.short_id, namespace_project_commit_path(@project.namespace, @project, @commit), class: "monospace"
%span.ci-status-label