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
41ec1afd
Commit
41ec1afd
authored
Feb 15, 2017
by
blackst0ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Alphabetically sort tags on runner list
parent
b4c00ae4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
+8
-4
app/views/admin/runners/_runner.html.haml
app/views/admin/runners/_runner.html.haml
+1
-1
app/views/projects/runners/_form.html.haml
app/views/projects/runners/_form.html.haml
+1
-1
app/views/projects/runners/_runner.html.haml
app/views/projects/runners/_runner.html.haml
+1
-1
app/views/projects/runners/show.html.haml
app/views/projects/runners/show.html.haml
+1
-1
changelogs/unreleased/alphabetically_sort_tags_on_runner_list.yml
...gs/unreleased/alphabetically_sort_tags_on_runner_list.yml
+4
-0
No files found.
app/views/admin/runners/_runner.html.haml
View file @
41ec1afd
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
%td
%td
#{
runner
.
builds
.
count
(
:all
)
}
#{
runner
.
builds
.
count
(
:all
)
}
%td
%td
-
runner
.
tag_list
.
each
do
|
tag
|
-
runner
.
tag_list
.
sort
.
each
do
|
tag
|
%span
.label.label-primary
%span
.label.label-primary
=
tag
=
tag
%td
%td
...
...
app/views/projects/runners/_form.html.haml
View file @
41ec1afd
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
=
label_tag
:tag_list
,
class:
'control-label'
do
=
label_tag
:tag_list
,
class:
'control-label'
do
Tags
Tags
.col-sm-10
.col-sm-10
=
f
.
text_field
:tag_list
,
value:
runner
.
tag_list
.
to_s
,
class:
'form-control'
=
f
.
text_field
:tag_list
,
value:
runner
.
tag_list
.
sort
.
join
(
', '
)
,
class:
'form-control'
.help-block
You can setup jobs to only use Runners with specific tags
.help-block
You can setup jobs to only use Runners with specific tags
.form-actions
.form-actions
=
f
.
submit
'Save changes'
,
class:
'btn btn-save'
=
f
.
submit
'Save changes'
,
class:
'btn btn-save'
app/views/projects/runners/_runner.html.haml
View file @
41ec1afd
...
@@ -31,6 +31,6 @@
...
@@ -31,6 +31,6 @@
=
runner
.
description
=
runner
.
description
-
if
runner
.
tag_list
.
present?
-
if
runner
.
tag_list
.
present?
%p
%p
-
runner
.
tag_list
.
each
do
|
tag
|
-
runner
.
tag_list
.
sort
.
each
do
|
tag
|
%span
.label.label-primary
%span
.label.label-primary
=
tag
=
tag
app/views/projects/runners/show.html.haml
View file @
41ec1afd
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
%tr
%tr
%td
Tags
%td
Tags
%td
%td
-
@runner
.
tag_list
.
each
do
|
tag
|
-
@runner
.
tag_list
.
sort
.
each
do
|
tag
|
%span
.label.label-primary
%span
.label.label-primary
=
tag
=
tag
%tr
%tr
...
...
changelogs/unreleased/alphabetically_sort_tags_on_runner_list.yml
0 → 100644
View file @
41ec1afd
---
title
:
Alphabetically sort tags on runner list
merge_request
:
8922
author
:
blackst0ne
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