summaryrefslogtreecommitdiff
path: root/app/views/ci
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-05 12:38:00 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-05 12:38:00 +0200
commit361dc3641dd28c4ecefbda94f7a8dad299c349aa (patch)
treec2ac5788696ae8a16b82134bd92f5c6d37ef4e52 /app/views/ci
parent317a7469545d0e9a70e54a87a540b8aabe4c418b (diff)
downloadgitlab-ce-361dc3641dd28c4ecefbda94f7a8dad299c349aa.tar.gz
Fix builds_without_retry
Diffstat (limited to 'app/views/ci')
-rw-r--r--app/views/ci/builds/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/ci/builds/show.html.haml b/app/views/ci/builds/show.html.haml
index e4ec190ada5..c42d11bf05d 100644
--- a/app/views/ci/builds/show.html.haml
+++ b/app/views/ci/builds/show.html.haml
@@ -1,7 +1,7 @@
#up-build-trace
- if @commit.matrix_for_ref?(@build.ref)
%ul.center-top-menu
- - @commit.builds_without_retry.for_ref(build.ref).each do |build|
+ - @commit.builds_without_retry_for_ref(build.ref).each do |build|
%li{class: ('active' if build == @build) }
= link_to ci_project_build_url(@project, build) do
= ci_icon_for_status(build.status)
@@ -12,7 +12,7 @@
= build.id
- - unless @commit.builds_without_retry.for_ref(@build.ref).include?(@build)
+ - unless @commit.builds_without_retry_for_ref(@build.ref).include?(@build)
%li.active
%a
Build ##{@build.id}