diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-17 12:08:45 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-17 12:08:45 +0100 |
commit | 49e7070adfcb281938a43aceeb52cc0257601e1d (patch) | |
tree | 46a2dd6c907e8e1b030b6c576f05a8be5e4c7736 /app/views/projects/generic_commit_statuses | |
parent | ae5ec7918a7d6c13f0b4a6b1fd5a168646b39327 (diff) | |
download | gitlab-ce-49e7070adfcb281938a43aceeb52cc0257601e1d.tar.gz |
Add support for Play and Created jobs
Diffstat (limited to 'app/views/projects/generic_commit_statuses')
-rw-r--r-- | app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml b/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml index 760918b18a3..584c0fa18ae 100644 --- a/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml +++ b/app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml @@ -1,9 +1,9 @@ %li.build .build-content - %span{class: "ci-status-link ci-status-icon-#{subject.status}"} - - if subject.target_url - - link_to subject.target_url do - = ci_icon_for_status(subject.status) - - else - = ci_icon_for_status(subject.status) - = subject.name + - if subject.target_url + - link_to subject.target_url do + = render_status_with_link('commit status', subject.status) + = subject.name + - else + = render_status_with_link('commit status', subject.status) + = subject.name |