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
e35f8d9c
Commit
e35f8d9c
authored
Jul 20, 2018
by
Lukas Eipert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
backport code from EE
parent
b60364c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
app/views/projects/pipelines/_info.html.haml
app/views/projects/pipelines/_info.html.haml
+2
-0
app/views/projects/pipelines/_with_tabs.html.haml
app/views/projects/pipelines/_with_tabs.html.haml
+2
-1
app/views/projects/pipelines/new.html.haml
app/views/projects/pipelines/new.html.haml
+1
-1
No files found.
app/views/projects/pipelines/_info.html.haml
View file @
e35f8d9c
...
@@ -33,3 +33,5 @@
...
@@ -33,3 +33,5 @@
%span
.js-details-content.hide
%span
.js-details-content.hide
=
link_to
@pipeline
.
sha
,
project_commit_path
(
@project
,
@pipeline
.
sha
),
class:
"commit-sha commit-hash-full"
=
link_to
@pipeline
.
sha
,
project_commit_path
(
@project
,
@pipeline
.
sha
),
class:
"commit-sha commit-hash-full"
=
clipboard_button
(
text:
@pipeline
.
sha
,
title:
"Copy commit SHA to clipboard"
)
=
clipboard_button
(
text:
@pipeline
.
sha
,
title:
"Copy commit SHA to clipboard"
)
=
render_if_exists
"projects/pipelines/info_extension"
,
pipeline:
@pipeline
app/views/projects/pipelines/_with_tabs.html.haml
View file @
e35f8d9c
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
=
link_to
failures_project_pipeline_path
(
@project
,
@pipeline
),
data:
{
target:
'#js-tab-failures'
,
action:
'failures'
,
toggle:
'tab'
},
class:
'failures-tab'
do
=
link_to
failures_project_pipeline_path
(
@project
,
@pipeline
),
data:
{
target:
'#js-tab-failures'
,
action:
'failures'
,
toggle:
'tab'
},
class:
'failures-tab'
do
=
_
(
"Failed Jobs"
)
=
_
(
"Failed Jobs"
)
%span
.badge.badge-pill.js-failures-counter
=
@pipeline
.
failed_builds
.
count
%span
.badge.badge-pill.js-failures-counter
=
@pipeline
.
failed_builds
.
count
=
render_if_exists
"projects/pipelines/tabs_holder"
,
pipeline:
@pipeline
,
project:
@project
.tab-content
.tab-content
#js-tab-pipeline
.tab-pane
#js-tab-pipeline
.tab-pane
...
@@ -75,4 +76,4 @@
...
@@ -75,4 +76,4 @@
%pre
.build-trace.build-trace-rounded
%pre
.build-trace.build-trace-rounded
%code
.bash.js-build-output
%code
.bash.js-build-output
=
build_summary
(
build
)
=
build_summary
(
build
)
=
render_if_exists
"projects/pipelines/tabs_content"
,
pipeline:
@pipeline
,
project:
@project
app/views/projects/pipelines/new.html.haml
View file @
e35f8d9c
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
=
form_errors
(
@pipeline
)
=
form_errors
(
@pipeline
)
.form-group.row
.form-group.row
.col-sm-12
.col-sm-12
=
f
.
label
:ref
,
s_
(
'Pipeline|Create for'
)
=
f
.
label
:ref
,
s_
(
'Pipeline|Create for'
)
,
class:
'col-form-label'
=
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'
,
...
...
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