Commit f5af4efa authored by Valery Sizov's avatar Valery Sizov

fix runners page

parent 9d93c567
...@@ -10,7 +10,7 @@ module Ci ...@@ -10,7 +10,7 @@ module Ci
default_url_options[:port] = Gitlab.config.gitlab.port unless Gitlab.config.gitlab_on_standard_port? default_url_options[:port] = Gitlab.config.gitlab.port unless Gitlab.config.gitlab_on_standard_port?
default_url_options[:script_name] = Gitlab.config.gitlab.relative_url_root default_url_options[:script_name] = Gitlab.config.gitlab.relative_url_root
default from: GitlabCi.config.gitlab_ci.email_from default from: Gitlab.config.gitlab.email_from
# Just send email with 3 seconds delay # Just send email with 3 seconds delay
def self.delay def self.delay
......
...@@ -47,5 +47,6 @@ ...@@ -47,5 +47,6 @@
%th Last contact %th Last contact
%th %th
= render @runners - @runners.each do |runner|
= render "ci/admin/runners/runner", runner: runner
= paginate @runners = paginate @runners
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
= runner_status_icon(runner) = runner_status_icon(runner)
%span.monospace %span.monospace
- if @runners.include?(runner) - if @runners.include?(runner)
= link_to runner.short_sha, [:ci, @project, runner] = link_to runner.short_sha, ci_project_runner_path(@project, runner)
%small %small
=link_to edit_ci_project_runner_path(@project, runner) do =link_to edit_ci_project_runner_path(@project, runner) do
%i.fa.fa-edit.btn %i.fa.fa-edit.btn
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment