diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-12-08 13:03:01 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-12-12 14:59:01 +0300 |
commit | feaf01802c092be8f55994c910f2975376cbd20f (patch) | |
tree | 66650ccffc461bc127ca45f176136798a4e6b6c4 /app/views/projects/ci/builds/_build.html.haml | |
parent | a83a80edb368d9b5697493123c2f13d8b7c6531e (diff) |
Remove ci_status_with_icon helper and replace it with partial [ci skip]
Diffstat (limited to 'app/views/projects/ci/builds/_build.html.haml')
-rw-r--r-- | app/views/projects/ci/builds/_build.html.haml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml index 18b3b04154f..6b0cd3e49a0 100644 --- a/app/views/projects/ci/builds/_build.html.haml +++ b/app/views/projects/ci/builds/_build.html.haml @@ -9,10 +9,7 @@ %tr.build.commit{class: ('retried' if retried)} %td.status - - if can?(current_user, :read_build, build) - = ci_status_with_icon(build.status, namespace_project_build_url(build.project.namespace, build.project, build)) - - else - = ci_status_with_icon(build.status) + = render "ci/status/icon_with_label", subject: build %td.branch-commit - if can?(current_user, :read_build, build) |