diff options
author | dimitrieh <dimitriehoekstra@gmail.com> | 2017-01-23 02:44:07 +0300 |
---|---|---|
committer | dimitrieh <dimitriehoekstra@gmail.com> | 2017-01-23 02:44:07 +0300 |
commit | 863efcc60437ccec67be6bd68af9ff3678141b89 (patch) | |
tree | 8f82a5706643ba2d3f5954445760460849351c03 /app/views/projects/merge_requests/widget | |
parent | 0363734ce40beb3c53b0f35759d58ebe8ed56f45 (diff) |
Improve pipeline status icon linking in widgets
Diffstat (limited to 'app/views/projects/merge_requests/widget')
-rw-r--r-- | app/views/projects/merge_requests/widget/_heading.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/widget/_heading.html.haml b/app/views/projects/merge_requests/widget/_heading.html.haml index c80dc33058d..cc939ab9441 100644 --- a/app/views/projects/merge_requests/widget/_heading.html.haml +++ b/app/views/projects/merge_requests/widget/_heading.html.haml @@ -2,7 +2,8 @@ .mr-widget-heading - %w[success success_with_warnings skipped canceled failed running pending].each do |status| .ci_widget{ class: "ci-#{status} ci-status-icon-#{status}", style: ("display:none" unless @pipeline.status == status) } - = ci_icon_for_status(status) + = link_to namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id) do + = ci_icon_for_status(status) %span Pipeline = link_to "##{@pipeline.id}", namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id), class: 'pipeline' |