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
path: root/app/views
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-09-11 14:40:57 +0300
committerValery Sizov <vsv2711@gmail.com>2015-09-11 14:40:57 +0300
commitd1914c1e1f4452feae3a29520b6852f7b8009ced (patch)
tree70273047d1584cbd115cb2825499df4ae42369fe /app/views
parent9a9417ee8e8f3d8fe8320eaaf150ff1eb77a471e (diff)
admin fix
Diffstat (limited to 'app/views')
-rw-r--r--app/views/ci/admin/builds/_build.html.haml2
-rw-r--r--app/views/ci/admin/builds/index.html.haml3
-rw-r--r--app/views/ci/admin/projects/index.html.haml2
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