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
7aadee1c
Commit
7aadee1c
authored
Apr 12, 2021
by
Marvin Karegyeya
Committed by
Kerri Miller
Apr 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalize strings in runners/_runner.html.haml
parent
395a3f53
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
app/views/admin/runners/_runner.html.haml
app/views/admin/runners/_runner.html.haml
+5
-5
changelogs/unreleased/Externalize-strings-in-runners-_runner-html-haml.yml
...ased/Externalize-strings-in-runners-_runner-html-haml.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
app/views/admin/runners/_runner.html.haml
View file @
7aadee1c
...
...
@@ -3,15 +3,15 @@
.table-mobile-header
{
role:
'rowheader'
}=
_
(
'Type'
)
.table-mobile-content
-
if
runner
.
instance_type?
%span
.badge.badge-pill.gl-badge.sm.badge-success
shared
%span
.badge.badge-pill.gl-badge.sm.badge-success
=
_
(
"shared"
)
-
elsif
runner
.
group_type?
%span
.badge.badge-pill.gl-badge.sm.badge-success
group
%span
.badge.badge-pill.gl-badge.sm.badge-success
=
_
(
"group"
)
-
else
%span
.badge.badge-pill.gl-badge.sm.badge-info
specific
%span
.badge.badge-pill.gl-badge.sm.badge-info
=
_
(
"specific"
)
-
if
runner
.
locked?
%span
.badge.badge-pill.gl-badge.sm.badge-warning
locked
%span
.badge.badge-pill.gl-badge.sm.badge-warning
=
_
(
"locked"
)
-
unless
runner
.
active?
%span
.badge.badge-pill.gl-badge.sm.badge-danger
paused
%span
.badge.badge-pill.gl-badge.sm.badge-danger
=
_
(
"paused"
)
.table-section.section-10
.table-mobile-header
{
role:
'rowheader'
}=
_
(
'Runner token'
)
...
...
changelogs/unreleased/Externalize-strings-in-runners-_runner-html-haml.yml
0 → 100644
View file @
7aadee1c
---
title
:
Externalise strings in runners/_runner.html.haml
merge_request
:
58168
author
:
nuwe1
type
:
other
locale/gitlab.pot
View file @
7aadee1c
...
...
@@ -37463,6 +37463,9 @@ msgstr ""
msgid "severity|Unknown"
msgstr ""
msgid "shared"
msgstr ""
msgid "should be an array of %{object_name} objects"
msgstr ""
...
...
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