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
0fd3a912
Commit
0fd3a912
authored
Oct 21, 2020
by
Jose Vargas
Committed by
Adrien Kohlbecker
Nov 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addres N+1 queries
parent
226a8605
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/controllers/projects/settings/ci_cd_controller.rb
app/controllers/projects/settings/ci_cd_controller.rb
+1
-1
app/views/projects/runners/_runner.html.haml
app/views/projects/runners/_runner.html.haml
+2
-2
No files found.
app/controllers/projects/settings/ci_cd_controller.rb
View file @
0fd3a912
...
...
@@ -110,7 +110,7 @@ module Projects
end
def
define_runners_variables
@project_runners
=
@project
.
runners
.
ordered
.
page
(
params
[
:page
]).
per
(
NUMBER_OF_RUNNERS_PER_PAGE
)
@project_runners
=
@project
.
runners
.
ordered
.
page
(
params
[
:page
]).
per
(
NUMBER_OF_RUNNERS_PER_PAGE
)
.
with_tags
@assignable_runners
=
current_user
.
ci_owned_runners
...
...
app/views/projects/runners/_runner.html.haml
View file @
0fd3a912
...
...
@@ -37,8 +37,8 @@
-
if
runner
.
description
.
present?
%p
.runner-description
=
runner
.
description
-
if
runner
.
tag
_list
.
present?
-
if
runner
.
tag
s
.
present?
%p
-
runner
.
tag
_list
.
sort
.
each
do
|
tag
|
-
runner
.
tag
s
.
map
(
&
:name
)
.
sort
.
each
do
|
tag
|
%span
.badge.badge-primary
=
tag
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