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