diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-12 15:28:02 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-12 15:28:02 +0300 |
commit | dc67554c08ac6cfe23809af9f086336ca9ca740e (patch) | |
tree | a1b19de9def76953bc1befaff1653eb768fba070 /app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml | |
parent | 23f02681c036b150966ce4459410c94694167b34 (diff) |
Improve detailed status badge partial
Diffstat (limited to 'app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml')
-rw-r--r-- | app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml | 2 |
1 files changed, 1 insertions, 1 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 1dd07ae1a2a..9f444f076c0 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 @@ -8,7 +8,7 @@ %tr.generic_commit_status{class: ('retried' if retried)} %td.status - = render "ci/status/icon_with_description", subject: generic_commit_status + = render 'ci/status/badge', status: generic_commit_status.detailed_status(current_user) %td.generic_commit_status-link - if can?(current_user, :read_commit_status, generic_commit_status) && generic_commit_status.target_url |