summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-09-10 17:05:43 +0300
committerValery Sizov <vsv2711@gmail.com>2015-09-10 17:05:43 +0300
commitf5af4efabd410f6140fb0ac16f7787bb2a5b457f (patch)
treec89e35cf59026e3ee48f66dd46d82917bc654b61 /app/views
parent9d93c567b39bc4f3e6737f1db5b1c6c2b1d59654 (diff)
downloadgitlab-ce-f5af4efabd410f6140fb0ac16f7787bb2a5b457f.tar.gz
fix runners page
Diffstat (limited to 'app/views')
-rw-r--r--app/views/ci/admin/runners/index.html.haml3
-rw-r--r--app/views/ci/runners/_runner.html.haml2
2 files changed, 3 insertions, 2 deletions
diff --git a/app/views/ci/admin/runners/index.html.haml b/app/views/ci/admin/runners/index.html.haml
index f1ab3399dcc..d578ff922ad 100644
--- a/app/views/ci/admin/runners/index.html.haml
+++ b/app/views/ci/admin/runners/index.html.haml
@@ -47,5 +47,6 @@
%th Last contact
%th
- = render @runners
+ - @runners.each do |runner|
+ = render "ci/admin/runners/runner", runner: runner
= paginate @runners
diff --git a/app/views/ci/runners/_runner.html.haml b/app/views/ci/runners/_runner.html.haml
index 7ead5736bb1..ef8622e2807 100644
--- a/app/views/ci/runners/_runner.html.haml
+++ b/app/views/ci/runners/_runner.html.haml
@@ -3,7 +3,7 @@
= runner_status_icon(runner)
%span.monospace
- if @runners.include?(runner)
- = link_to runner.short_sha, [:ci, @project, runner]
+ = link_to runner.short_sha, ci_project_runner_path(@project, runner)
%small
=link_to edit_ci_project_runner_path(@project, runner) do
%i.fa.fa-edit.btn