diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-09-11 14:40:57 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-09-11 14:40:57 +0300 |
commit | d1914c1e1f4452feae3a29520b6852f7b8009ced (patch) | |
tree | 70273047d1584cbd115cb2825499df4ae42369fe | |
parent | 9a9417ee8e8f3d8fe8320eaaf150ff1eb77a471e (diff) | |
download | gitlab-ce-d1914c1e1f4452feae3a29520b6852f7b8009ced.tar.gz |
admin fix
-rw-r--r-- | app/views/ci/admin/builds/_build.html.haml | 2 | ||||
-rw-r--r-- | app/views/ci/admin/builds/index.html.haml | 3 | ||||
-rw-r--r-- | app/views/ci/admin/projects/index.html.haml | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/app/views/ci/admin/builds/_build.html.haml b/app/views/ci/admin/builds/_build.html.haml index 1766ca39760..47f8df8f98e 100644 --- a/app/views/ci/admin/builds/_build.html.haml +++ b/app/views/ci/admin/builds/_build.html.haml @@ -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 diff --git a/app/views/ci/admin/builds/index.html.haml b/app/views/ci/admin/builds/index.html.haml index ab4ced54327..d23119162cc 100644 --- a/app/views/ci/admin/builds/index.html.haml +++ b/app/views/ci/admin/builds/index.html.haml @@ -22,6 +22,7 @@ %th Duration %th Finished at - = render @builds + - @builds.each do |build| + = render "ci/admin/builds/build", build: build = paginate @builds diff --git a/app/views/ci/admin/projects/index.html.haml b/app/views/ci/admin/projects/index.html.haml index d6c0243880f..dc7b041473b 100644 --- a/app/views/ci/admin/projects/index.html.haml +++ b/app/views/ci/admin/projects/index.html.haml @@ -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 |