diff options
Diffstat (limited to 'app/helpers/ci/runners_helper.rb')
-rw-r--r-- | app/helpers/ci/runners_helper.rb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/app/helpers/ci/runners_helper.rb b/app/helpers/ci/runners_helper.rb index 8f219656b71..f84b42209da 100644 --- a/app/helpers/ci/runners_helper.rb +++ b/app/helpers/ci/runners_helper.rb @@ -24,7 +24,7 @@ module Ci span_class = 'gl-text-gray-600' end when :not_connected, :never_contacted - title = s_("Runners|New runner, has not connected yet") + title = s_("Runners|New runner, has not contacted yet") icon = 'warning-solid' when :offline title = s_("Runners|Runner is offline, last contact was %{runner_contact} ago") % { runner_contact: time_ago_in_words(runner.contacted_at) } @@ -65,14 +65,7 @@ module Ci # Runner install help page is external, located at # https://gitlab.com/gitlab-org/gitlab-runner runner_install_help_page: 'https://docs.gitlab.com/runner/install/', - registration_token: Gitlab::CurrentSettings.runners_registration_token, - - # All runner counts are returned as formatted strings - active_runners_count: Ci::Runner.online.count.to_s, - all_runners_count: limited_counter_with_delimiter(Ci::Runner), - instance_runners_count: limited_counter_with_delimiter(Ci::Runner.instance_type), - group_runners_count: limited_counter_with_delimiter(Ci::Runner.group_type), - project_runners_count: limited_counter_with_delimiter(Ci::Runner.project_type) + registration_token: Gitlab::CurrentSettings.runners_registration_token } end |