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
f8e41cd2
Commit
f8e41cd2
authored
Dec 31, 2021
by
wortschi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Pajamas-complient badge for runners
Changelog: changed
parent
5a2c8480
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
app/views/groups/runners/_runner.html.haml
app/views/groups/runners/_runner.html.haml
+5
-10
No files found.
app/views/groups/runners/_runner.html.haml
View file @
f8e41cd2
...
@@ -3,17 +3,13 @@
...
@@ -3,17 +3,13 @@
.table-mobile-header
{
role:
'rowheader'
}=
_
(
'Type'
)
.table-mobile-header
{
role:
'rowheader'
}=
_
(
'Type'
)
.table-mobile-content
.table-mobile-content
-
if
runner
.
group_type?
-
if
runner
.
group_type?
%span
.badge.badge-pill.gl-badge.sm.badge-success
=
gl_badge_tag
s_
(
'Runners|group'
),
variant: :success
,
size: :sm
=
s_
(
'Runners|group'
)
-
else
-
else
%span
.badge.badge-pill.gl-badge.sm.badge-info
=
gl_badge_tag
s_
(
'Runners|specific'
),
variant: :info
,
size: :sm
=
s_
(
'Runners|specific'
)
-
if
runner
.
locked?
-
if
runner
.
locked?
%span
.badge.badge-pill.gl-badge.sm.badge-warning
=
gl_badge_tag
s_
(
'Runners|locked'
),
variant: :warning
,
size: :sm
=
s_
(
'Runners|locked'
)
-
unless
runner
.
active?
-
unless
runner
.
active?
%span
.badge.badge-pill.gl-badge.sm.badge-danger
=
gl_badge_tag
s_
(
'Runners|paused'
),
variant: :danger
,
size: :sm
=
s_
(
'Runners|paused'
)
.table-section.section-30
.table-section.section-30
.table-mobile-header
{
role:
'rowheader'
}=
s_
(
'Runners|Runner'
)
.table-mobile-header
{
role:
'rowheader'
}=
s_
(
'Runners|Runner'
)
...
@@ -50,8 +46,7 @@
...
@@ -50,8 +46,7 @@
.table-mobile-header
{
role:
'rowheader'
}=
_
(
'Tags'
)
.table-mobile-header
{
role:
'rowheader'
}=
_
(
'Tags'
)
.table-mobile-content
.table-mobile-content
-
runner
.
tags
.
map
(
&
:name
).
sort
.
each
do
|
tag
|
-
runner
.
tags
.
map
(
&
:name
).
sort
.
each
do
|
tag
|
%span
.badge.badge-primary.str-truncated.has-tooltip
{
title:
tag
}
=
gl_badge_tag
tag
,
{
variant: :info
},
{
class:
'str-truncated has-tooltip'
,
title:
tag
}
=
tag
.table-section.section-10
.table-section.section-10
.table-mobile-header
{
role:
'rowheader'
}=
_
(
'Last contact'
)
.table-mobile-header
{
role:
'rowheader'
}=
_
(
'Last contact'
)
...
...
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