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 @@
.table-mobile-header
{
role:
'rowheader'
}=
_
(
'Type'
)
.table-mobile-content
-
if
runner
.
group_type?
%span
.badge.badge-pill.gl-badge.sm.badge-success
=
s_
(
'Runners|group'
)
=
gl_badge_tag
s_
(
'Runners|group'
),
variant: :success
,
size: :sm
-
else
%span
.badge.badge-pill.gl-badge.sm.badge-info
=
s_
(
'Runners|specific'
)
=
gl_badge_tag
s_
(
'Runners|specific'
),
variant: :info
,
size: :sm
-
if
runner
.
locked?
%span
.badge.badge-pill.gl-badge.sm.badge-warning
=
s_
(
'Runners|locked'
)
=
gl_badge_tag
s_
(
'Runners|locked'
),
variant: :warning
,
size: :sm
-
unless
runner
.
active?
%span
.badge.badge-pill.gl-badge.sm.badge-danger
=
s_
(
'Runners|paused'
)
=
gl_badge_tag
s_
(
'Runners|paused'
),
variant: :danger
,
size: :sm
.table-section.section-30
.table-mobile-header
{
role:
'rowheader'
}=
s_
(
'Runners|Runner'
)
...
...
@@ -50,8 +46,7 @@
.table-mobile-header
{
role:
'rowheader'
}=
_
(
'Tags'
)
.table-mobile-content
-
runner
.
tags
.
map
(
&
:name
).
sort
.
each
do
|
tag
|
%span
.badge.badge-primary.str-truncated.has-tooltip
{
title:
tag
}
=
tag
=
gl_badge_tag
tag
,
{
variant: :info
},
{
class:
'str-truncated has-tooltip'
,
title:
tag
}
.table-section.section-10
.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