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
cdcbc8d7
Commit
cdcbc8d7
authored
Jun 21, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update wordings according to:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093#note_12594802
parent
d611074e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/projects/runners/_form.html.haml
app/views/projects/runners/_form.html.haml
+2
-2
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
No files found.
app/views/projects/runners/_form.html.haml
View file @
cdcbc8d7
...
...
@@ -13,11 +13,11 @@
=
f
.
check_box
:run_untagged
%span
.light
Indicates whether this runner can pick jobs without tags
.form-group
=
label
:locked
,
'Lock to
this project
'
,
class:
'control-label'
=
label
:locked
,
'Lock to
current projects
'
,
class:
'control-label'
.col-sm-10
.checkbox
=
f
.
check_box
:locked
%span
.light
When a runner is locked, it cannot be
enabled for
other projects
%span
.light
When a runner is locked, it cannot be
assigned to
other projects
.form-group
=
label_tag
:token
,
class:
'control-label'
do
Token
...
...
app/views/projects/runners/_runner.html.haml
View file @
cdcbc8d7
...
...
@@ -5,7 +5,7 @@
-
if
@project_runners
.
include?
(
runner
)
=
link_to
runner
.
short_sha
,
runner_path
(
runner
)
-
if
runner
.
locked?
=
icon
(
'lock'
,
class:
'has-tooltip'
,
title:
'
Exclusive to this project
'
)
=
icon
(
'lock'
,
class:
'has-tooltip'
,
title:
'
Locked to current projects
'
)
%small
=
link_to
edit_namespace_project_runner_path
(
@project
.
namespace
,
@project
,
runner
)
do
%i
.fa.fa-edit.btn
...
...
app/views/projects/runners/show.html.haml
View file @
cdcbc8d7
...
...
@@ -23,7 +23,7 @@
%td
Can run untagged jobs
%td
=
@runner
.
run_untagged?
?
'Yes'
:
'No'
%tr
%td
Exclusive
to this project
%td
Locked
to this project
%td
=
@runner
.
locked?
?
'Yes'
:
'No'
%tr
%td
Tags
...
...
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