diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-08 12:59:13 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-08 13:06:55 +0100 |
commit | 35fd7112bfc65d5773a64359f108d3c252885479 (patch) | |
tree | b17b6436a7d2df6fe8a41daa391ec07864a1ad53 | |
parent | 526e64e0c4f43c21cdaa17969be30f2ff0c3793b (diff) | |
download | gitlab-ce-35fd7112bfc65d5773a64359f108d3c252885479.tar.gz |
Link builds list status to build details
-rw-r--r-- | app/views/projects/commit_statuses/_commit_status.html.haml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/commit_statuses/_commit_status.html.haml b/app/views/projects/commit_statuses/_commit_status.html.haml index 615296a575b..a527bb2f84a 100644 --- a/app/views/projects/commit_statuses/_commit_status.html.haml +++ b/app/views/projects/commit_statuses/_commit_status.html.haml @@ -1,6 +1,11 @@ %tr.commit_status %td.status - = ci_status_with_icon(commit_status.status) + - if commit_status.target_url + = link_to commit_status.target_url, class: "ci-status ci-#{commit_status.status}" do + = ci_icon_for_status(commit_status.status) + = commit_status.status + - else + = ci_status_with_icon(commit_status.status) %td.commit_status-link - if commit_status.target_url |