Commit 03890558 authored by Alexis Reigel's avatar Alexis Reigel

rename variable from *_cnt to *_count

parent 27aeaccb
......@@ -4,7 +4,7 @@ class Admin::RunnersController < Admin::ApplicationController
def index
finder = Admin::RunnersFinder.new(params: params)
@runners = finder.execute
@active_runners_cnt = Ci::Runner.online.count
@active_runners_count = Ci::Runner.online.count
@sort = finder.sort_key
end
......
......@@ -47,7 +47,7 @@
.bs-callout
%p
= _('Runners currently online: %{active_runners_cnt}') % { active_runners_cnt: @active_runners_cnt }
= _('Runners currently online: %{active_runners_count}') % { active_runners_count: @active_runners_count }
.row-content-block.second-block
= form_tag admin_runners_path, id: 'runners-search', method: :get, class: 'filter-form js-filter-form' do
......
......@@ -4870,7 +4870,7 @@ msgstr ""
msgid "Runners can be placed on separate users, servers, even on your local machine."
msgstr ""
msgid "Runners currently online: %{active_runners_cnt}"
msgid "Runners currently online: %{active_runners_count}"
msgstr ""
msgid "Runners page"
......
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