Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
03890558
Commit
03890558
authored
Sep 12, 2018
by
Alexis Reigel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename variable from *_cnt to *_count
parent
27aeaccb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/controllers/admin/runners_controller.rb
app/controllers/admin/runners_controller.rb
+1
-1
app/views/admin/runners/index.html.haml
app/views/admin/runners/index.html.haml
+1
-1
locale/gitlab.pot
locale/gitlab.pot
+1
-1
No files found.
app/controllers/admin/runners_controller.rb
View file @
03890558
...
...
@@ -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_c
ou
nt
=
Ci
::
Runner
.
online
.
count
@sort
=
finder
.
sort_key
end
...
...
app/views/admin/runners/index.html.haml
View file @
03890558
...
...
@@ -47,7 +47,7 @@
.bs-callout
%p
=
_
(
'Runners currently online: %{active_runners_c
nt}'
)
%
{
active_runners_cnt:
@active_runners_c
nt
}
=
_
(
'Runners currently online: %{active_runners_c
ount}'
)
%
{
active_runners_count:
@active_runners_cou
nt
}
.row-content-block.second-block
=
form_tag
admin_runners_path
,
id:
'runners-search'
,
method: :get
,
class:
'filter-form js-filter-form'
do
...
...
locale/gitlab.pot
View file @
03890558
...
...
@@ -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_c
ou
nt}"
msgstr ""
msgid "Runners page"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment