diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-03-15 16:26:15 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-03-15 16:29:02 +0300 |
commit | c96e037dcbe127c6525058a7884fc7c5f2708979 (patch) | |
tree | 674d6b5b4fc82de164bba3cb1b7a879c068e4e6a /app/views/projects/generic_commit_statuses | |
parent | ea7d062fa60e3e622288237fc66a815348bbcf36 (diff) |
Fix double borders around the CI status
Diffstat (limited to 'app/views/projects/generic_commit_statuses')
-rw-r--r-- | app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml index 4143ea13063..c15386b4883 100644 --- a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml +++ b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml @@ -1,8 +1,7 @@ %tr.generic_commit_status %td.status - if can?(current_user, :read_commit_status, generic_commit_status) && generic_commit_status.target_url - = link_to generic_commit_status.target_url, class: "ci-status ci-#{generic_commit_status.status}" do - = ci_status_with_icon(generic_commit_status.status) + = ci_status_with_icon(generic_commit_status.status, generic_commit_status.target_url) - else = ci_status_with_icon(generic_commit_status.status) |