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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
6033859e
Commit
6033859e
authored
Aug 27, 2018
by
Alexis Reigel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dry up view by using a for loop
parent
03a074f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
app/views/admin/runners/index.html.haml
app/views/admin/runners/index.html.haml
+2
-9
No files found.
app/views/admin/runners/index.html.haml
View file @
6033859e
...
...
@@ -97,15 +97,8 @@
.runners-content.content-list
.table-holder
.gl-responsive-table-row.table-row-header
{
role:
'row'
}
.table-section.section-10
{
role:
'rowheader'
}=
_
(
'Type'
)
.table-section.section-10
{
role:
'rowheader'
}=
_
(
'Runner token'
)
.table-section.section-10
{
role:
'rowheader'
}=
_
(
'Description'
)
.table-section.section-10
{
role:
'rowheader'
}=
_
(
'Version'
)
.table-section.section-10
{
role:
'rowheader'
}=
_
(
'IP Address'
)
.table-section.section-10
{
role:
'rowheader'
}=
_
(
'Projects'
)
.table-section.section-10
{
role:
'rowheader'
}=
_
(
'Jobs'
)
.table-section.section-10
{
role:
'rowheader'
}=
_
(
'Tags'
)
.table-section.section-10
{
role:
'rowheader'
}=
_
(
'Last contact'
)
-
[
_
(
'Type'
),
_
(
'Runner token'
),
_
(
'Description'
),
_
(
'Version'
),
_
(
'IP Address'
),
_
(
'Projects'
),
_
(
'Jobs'
),
_
(
'Tags'
),
_
(
'Last contact'
)].
each
do
|
label
|
.table-section.section-10
{
role:
'rowheader'
}=
label
-
@runners
.
each
do
|
runner
|
=
render
'admin/runners/runner'
,
runner:
runner
...
...
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