Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-08 13:03:01 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-12 14:59:01 +0300
commitfeaf01802c092be8f55994c910f2975376cbd20f (patch)
tree66650ccffc461bc127ca45f176136798a4e6b6c4 /app/views/projects/ci/builds/_build.html.haml
parenta83a80edb368d9b5697493123c2f13d8b7c6531e (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.haml5
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)