diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-21 13:53:03 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-21 14:55:02 +0200 |
commit | ca6fd0a27da17e927b4db7136ead01f7564baf2b (patch) | |
tree | 3d4fcc4ae6ed3ee0f8a7580985ae7bd0daf6903d /app/views/projects/merge_requests | |
parent | 183892fde98308c0d77f5ba7a9bdb23d79eebe43 (diff) | |
download | gitlab-ce-ca6fd0a27da17e927b4db7136ead01f7564baf2b.tar.gz |
Fixed MR handling when GitLab CI project is not presentfix-ci-handling
Diffstat (limited to 'app/views/projects/merge_requests')
-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 4d4e2f68f61..10640f746f0 100644 --- a/app/views/projects/merge_requests/widget/_heading.html.haml +++ b/app/views/projects/merge_requests/widget/_heading.html.haml @@ -10,7 +10,8 @@ %span CI build #{status} for #{@merge_request.last_commit_short_sha}. %span.ci-coverage - = link_to "View build details", ci_build_details_path(@merge_request), :"data-no-turbolink" => "data-no-turbolink" + - if ci_build_details_path(@merge_request) + = link_to "View build details", ci_build_details_path(@merge_request), :"data-no-turbolink" => "data-no-turbolink" .ci_widget = icon("spinner spin") |