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
Jérome Perrin
gitlab-ce
Commits
1194d904
Commit
1194d904
authored
Apr 18, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable initialization table pipeline for new merge request form
Closes #31052
parent
00c1e31c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/views/projects/merge_requests/_new_submit.html.haml
app/views/projects/merge_requests/_new_submit.html.haml
+1
-1
app/views/projects/merge_requests/show/_pipelines.html.haml
app/views/projects/merge_requests/show/_pipelines.html.haml
+2
-1
No files found.
app/views/projects/merge_requests/_new_submit.html.haml
View file @
1194d904
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
-# This tab is always loaded via AJAX
-# This tab is always loaded via AJAX
-
if
@pipelines
.
any?
-
if
@pipelines
.
any?
#pipelines
.pipelines.tab-pane
#pipelines
.pipelines.tab-pane
=
render
'projects/merge_requests/show/pipelines'
,
endpoint:
url_for
(
params
.
merge
(
format: :json
))
=
render
'projects/merge_requests/show/pipelines'
,
endpoint:
url_for
(
params
.
merge
(
format: :json
))
,
disable_initialization:
true
.mr-loading-status
.mr-loading-status
=
spinner
=
spinner
...
...
app/views/projects/merge_requests/show/_pipelines.html.haml
View file @
1194d904
-
endpoint_path
=
local_assigns
[
:endpoint
]
||
pipelines_namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
,
format: :json
)
-
endpoint_path
=
local_assigns
[
:endpoint
]
||
pipelines_namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
,
format: :json
)
-
disable_initialization
=
local_assigns
.
fetch
(
:disable_initialization
,
false
)
=
render
'projects/commit/pipelines_list'
,
endpoint:
endpoint_path
=
render
'projects/commit/pipelines_list'
,
endpoint:
endpoint_path
,
disable_initialization:
disable_initialization
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