summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBorivoje Tasovac <btasovac@gitlab.com>2019-04-21 16:02:34 +0200
committerBorivoje Tasovac <btasovac@gitlab.com>2019-04-21 16:02:34 +0200
commit44d7c648a9b0cc019e44edf61b94bd71b4e1afe5 (patch)
tree2e9873ab730eeb900ec3d7bb30949f88bdcffb97
parent0a99e0220d9371423039f05f700af3675b26624f (diff)
downloadgitlab-ce-add-mr-links-to-pipeline-view.tar.gz
Add path to Merge Requests endpointadd-mr-links-to-pipeline-view
-rw-r--r--app/views/projects/pipelines/_info.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/projects/pipelines/_info.html.haml b/app/views/projects/pipelines/_info.html.haml
index 5d307d6a70d..44fe2d5ed3c 100644
--- a/app/views/projects/pipelines/_info.html.haml
+++ b/app/views/projects/pipelines/_info.html.haml
@@ -16,6 +16,12 @@
= time_interval_in_words(@pipeline.duration)
- if @pipeline.queued_duration
= "(queued for #{time_interval_in_words(@pipeline.queued_duration)})"
+
+ .well-segment.merge-request-info
+ .icon-container
+ = custom_icon('mr_bold')
+ %span.commit-info.merge-requests{ 'data-project-commit-path' => merge_requests_project_commit_path(@project, @pipeline.commit.id, format: :json) }
+ = icon('spinner spin')
.well-segment.qa-pipeline-badges
.icon-container