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
Boxiang Sun
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
Show 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 @@
...
@@ -13,11 +13,11 @@
=
f
.
check_box
:run_untagged
=
f
.
check_box
:run_untagged
%span
.light
Indicates whether this runner can pick jobs without tags
%span
.light
Indicates whether this runner can pick jobs without tags
.form-group
.form-group
=
label
:locked
,
'Lock to
this project
'
,
class:
'control-label'
=
label
:locked
,
'Lock to
current projects
'
,
class:
'control-label'
.col-sm-10
.col-sm-10
.checkbox
.checkbox
=
f
.
check_box
:locked
=
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
.form-group
=
label_tag
:token
,
class:
'control-label'
do
=
label_tag
:token
,
class:
'control-label'
do
Token
Token
...
...
app/views/projects/runners/_runner.html.haml
View file @
cdcbc8d7
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
-
if
@project_runners
.
include?
(
runner
)
-
if
@project_runners
.
include?
(
runner
)
=
link_to
runner
.
short_sha
,
runner_path
(
runner
)
=
link_to
runner
.
short_sha
,
runner_path
(
runner
)
-
if
runner
.
locked?
-
if
runner
.
locked?
=
icon
(
'lock'
,
class:
'has-tooltip'
,
title:
'
Exclusive to this project
'
)
=
icon
(
'lock'
,
class:
'has-tooltip'
,
title:
'
Locked to current projects
'
)
%small
%small
=
link_to
edit_namespace_project_runner_path
(
@project
.
namespace
,
@project
,
runner
)
do
=
link_to
edit_namespace_project_runner_path
(
@project
.
namespace
,
@project
,
runner
)
do
%i
.fa.fa-edit.btn
%i
.fa.fa-edit.btn
...
...
app/views/projects/runners/show.html.haml
View file @
cdcbc8d7
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
%td
Can run untagged jobs
%td
Can run untagged jobs
%td
=
@runner
.
run_untagged?
?
'Yes'
:
'No'
%td
=
@runner
.
run_untagged?
?
'Yes'
:
'No'
%tr
%tr
%td
Exclusive
to this project
%td
Locked
to this project
%td
=
@runner
.
locked?
?
'Yes'
:
'No'
%td
=
@runner
.
locked?
?
'Yes'
:
'No'
%tr
%tr
%td
Tags
%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