Commit e5e6c846 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix builds view

parent a2af080a
#up-build-trace #up-build-trace
- if @commit.matrix_for_ref?(@build.ref) - if @commit.matrix_for_ref?(@build.ref)
%ul.center-top-menu %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) } %li{class: ('active' if build == @build) }
= link_to ci_project_build_url(@project, build) do = link_to ci_project_build_url(@project, build) do
= ci_icon_for_status(build.status) = ci_icon_for_status(build.status)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment