diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-09-14 02:38:02 +0100 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-09-22 14:36:21 +0100 |
commit | 089ac50f92f4b7c035b961645b58d33e541b0db9 (patch) | |
tree | a44632e16785cf6354e6f4806e70d8e57137542b /app/views/projects/merge_requests/widget/_heading.html.haml | |
parent | 5fdc1f11aaf2e3530698d811868b58db33d85fa3 (diff) | |
download | gitlab-ce-089ac50f92f4b7c035b961645b58d33e541b0db9.tar.gz |
Changed mr widget build status to pipeline status with pipeline id, with a link to the pipeline22006-change-build-wording-to-pipeline-in-mr-block-add-pipeline-id
View details now links to pipelines tab
Added changelog entry
Diffstat (limited to 'app/views/projects/merge_requests/widget/_heading.html.haml')
-rw-r--r-- | app/views/projects/merge_requests/widget/_heading.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/merge_requests/widget/_heading.html.haml b/app/views/projects/merge_requests/widget/_heading.html.haml index 44e645a7e81..b5f5e11d4c3 100644 --- a/app/views/projects/merge_requests/widget/_heading.html.haml +++ b/app/views/projects/merge_requests/widget/_heading.html.haml @@ -4,14 +4,15 @@ .ci_widget{ class: "ci-#{status}", style: ("display:none" unless @pipeline.status == status) } = ci_icon_for_status(status) %span - CI build + Pipeline + = link_to "##{@pipeline.id}", namespace_project_pipeline_path(@pipeline.project.namespace, @pipeline.project, @pipeline.id), class: 'pipeline' = ci_label_for_status(status) for - commit = @merge_request.diff_head_commit = succeed "." do = link_to @pipeline.short_sha, namespace_project_commit_path(@merge_request.source_project.namespace, @merge_request.source_project, @pipeline.sha), class: "monospace" %span.ci-coverage - = link_to "View details", builds_namespace_project_merge_request_path(@project.namespace, @project, @merge_request), class: "js-show-tab", data: {action: 'builds'} + = link_to "View details", pipelines_namespace_project_merge_request_path(@project.namespace, @project, @merge_request), class: "js-show-tab", data: {action: 'pipelines'} - elsif @merge_request.has_ci? - # Compatibility with old CI integrations (ex jenkins) when you request status from CI server via AJAX |