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
Léo-Paul Géneau
gitlab-ce
Commits
56e1e028
Commit
56e1e028
authored
Apr 16, 2018
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improves wording in new pipeline page
parent
4ed152e4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
app/views/projects/pipelines/new.html.haml
app/views/projects/pipelines/new.html.haml
+8
-7
changelogs/unreleased/21677-run-pipeline-word.yml
changelogs/unreleased/21677-run-pipeline-word.yml
+5
-0
No files found.
app/views/projects/pipelines/new.html.haml
View file @
56e1e028
-
breadcrumb_title
"Pipelines"
-
breadcrumb_title
"Pipelines"
-
page_title
"New Pipeline"
-
page_title
=
s_
(
"Pipeline|Run Pipeline"
)
%h3
.page-title
%h3
.page-title
New Pipeline
=
s_
(
"Pipeline|Run Pipeline"
)
%hr
%hr
=
form_for
@pipeline
,
as: :pipeline
,
url:
project_pipelines_path
(
@project
),
html:
{
id:
"new-pipeline-form"
,
class:
"form-horizontal js-new-pipeline-form js-requires-input"
}
do
|
f
|
=
form_for
@pipeline
,
as: :pipeline
,
url:
project_pipelines_path
(
@project
),
html:
{
id:
"new-pipeline-form"
,
class:
"form-horizontal js-new-pipeline-form js-requires-input"
}
do
|
f
|
=
form_errors
(
@pipeline
)
=
form_errors
(
@pipeline
)
.form-group
.form-group
=
f
.
label
:ref
,
'Create for'
,
class:
'control-label'
=
f
.
label
:ref
,
s_
(
'Pipeline|Run on'
)
,
class:
'control-label'
.col-sm-10
.col-sm-10
=
hidden_field_tag
'pipeline[ref]'
,
params
[
:ref
]
||
@project
.
default_branch
=
hidden_field_tag
'pipeline[ref]'
,
params
[
:ref
]
||
@project
.
default_branch
=
dropdown_tag
(
params
[
:ref
]
||
@project
.
default_branch
,
=
dropdown_tag
(
params
[
:ref
]
||
@project
.
default_branch
,
options:
{
toggle_class:
'js-branch-select wide git-revision-dropdown-toggle'
,
options:
{
toggle_class:
'js-branch-select wide git-revision-dropdown-toggle'
,
filter:
true
,
dropdown_class:
"dropdown-menu-selectable git-revision-dropdown"
,
placeholder:
"Search branches"
,
filter:
true
,
dropdown_class:
"dropdown-menu-selectable git-revision-dropdown"
,
placeholder:
s_
(
"Pipeline|Search branches"
)
,
data:
{
selected:
params
[
:ref
]
||
@project
.
default_branch
,
field_name:
'pipeline[ref]'
}
})
data:
{
selected:
params
[
:ref
]
||
@project
.
default_branch
,
field_name:
'pipeline[ref]'
}
})
.help-block
Existing branch name, tag
.help-block
=
s_
(
"Pipeline|Existing branch name, tag"
)
.form-actions
.form-actions
=
f
.
submit
'Create pipeline'
,
class:
'btn btn-create
'
,
tabindex:
3
=
f
.
submit
s_
(
'Pipeline|Run pipeline'
),
class:
'btn btn-success
'
,
tabindex:
3
=
link_to
'Cancel'
,
project_pipelines_path
(
@project
),
class:
'btn btn-
cancel
'
=
link_to
'Cancel'
,
project_pipelines_path
(
@project
),
class:
'btn btn-
default pull-right
'
-# haml-lint:disable InlineJavaScript
-# haml-lint:disable InlineJavaScript
%script
#availableRefs
{
type:
"application/json"
}=
@project
.
repository
.
ref_names
.
to_json
.
html_safe
%script
#availableRefs
{
type:
"application/json"
}=
@project
.
repository
.
ref_names
.
to_json
.
html_safe
changelogs/unreleased/21677-run-pipeline-word.yml
0 → 100644
View file @
56e1e028
---
title
:
Improves wording in new pipeline page
merge_request
:
author
:
type
:
other
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