admin fix

This commit is contained in:
Valery Sizov 2015-09-11 14:40:57 +03:00
parent 9a9417ee8e
commit d1914c1e1f
3 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
- if build.commit && build.project
%tr.build.alert{class: build_status_alert_class(build)}
%td.build-link
= link_to ci_build_url(build) do
= link_to ci_project_build_url(build.project, build) do
%strong #{build.id}
%td.status

View file

@ -22,6 +22,7 @@
%th Duration
%th Finished at
= render @builds
- @builds.each do |build|
= render "ci/admin/builds/build", build: build
= paginate @builds

View file

@ -9,7 +9,7 @@
%th
- @projects.each do |project|
= render "ci/admin/projects/project", project: @projects
= render "ci/admin/projects/project", project: project
= paginate @projects