fix runners page
This commit is contained in:
parent
9d93c567b3
commit
f5af4efabd
3 changed files with 4 additions and 3 deletions
|
@ -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 @@
|
||||||
%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 @@
|
||||||
= 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
|
||||||
|
|
Loading…
Reference in a new issue