diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-09-10 17:05:43 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-09-10 17:05:43 +0300 |
commit | f5af4efabd410f6140fb0ac16f7787bb2a5b457f (patch) | |
tree | c89e35cf59026e3ee48f66dd46d82917bc654b61 /app/views | |
parent | 9d93c567b39bc4f3e6737f1db5b1c6c2b1d59654 (diff) |
fix runners page
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/ci/admin/runners/index.html.haml | 3 | ||||
-rw-r--r-- | app/views/ci/runners/_runner.html.haml | 2 |
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 |