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
fd48080b
Commit
fd48080b
authored
Jun 13, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts due to the new 'only_allow_merge_if_build_succeeds' feature
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
605f8c86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
15 deletions
+5
-15
app/views/projects/_merge_request_settings.html.haml
app/views/projects/_merge_request_settings.html.haml
+3
-9
app/views/projects/merge_requests/widget/_open.html.haml
app/views/projects/merge_requests/widget/_open.html.haml
+2
-6
No files found.
app/views/projects/_merge_request_settings.html.haml
View file @
fd48080b
<
<<<<<<
HEAD
%fieldset
.merge-request-feature.append-bottom-default
%fieldset
.merge-request-feature.append-bottom-default
%h5
.prepend-top-0
%h5
.prepend-top-0
Merge requests
Merge requests
...
@@ -79,13 +78,6 @@
...
@@ -79,13 +78,6 @@
-
if
@project
.
approvers
.
empty?
-
if
@project
.
approvers
.
empty?
%li
There are no approvers
%li
There are no approvers
:javascript
new
UsersSelect
();
==
=====
%fieldset
.builds-feature
%h5
.prepend-top-0
Merge
Requests
.form-group
.form-group
.checkbox
.checkbox
=
f
.
label
:only_allow_merge_if_build_succeeds
do
=
f
.
label
:only_allow_merge_if_build_succeeds
do
...
@@ -94,4 +86,6 @@
...
@@ -94,4 +86,6 @@
.help-block
.help-block
Builds need to be configured to enable this feature.
Builds need to be configured to enable this feature.
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'workflow'
,
'merge_requests#only-allow-merge-requests-to-be-merged-if-the-build-succeeds'
)
=
link_to
icon
(
'question-circle'
),
help_page_path
(
'workflow'
,
'merge_requests#only-allow-merge-requests-to-be-merged-if-the-build-succeeds'
)
>
>>>>>> 65df6bcb898e067e380658431136b5ef9aaba3b0
:javascript
new
UsersSelect
();
app/views/projects/merge_requests/widget/_open.html.haml
View file @
fd48080b
...
@@ -21,15 +21,11 @@
...
@@ -21,15 +21,11 @@
=
render
'projects/merge_requests/widget/open/merge_when_build_succeeds'
=
render
'projects/merge_requests/widget/open/merge_when_build_succeeds'
-
elsif
!
@merge_request
.
can_be_merged_by?
(
current_user
)
-
elsif
!
@merge_request
.
can_be_merged_by?
(
current_user
)
=
render
'projects/merge_requests/widget/open/not_allowed'
=
render
'projects/merge_requests/widget/open/not_allowed'
<
<<<<<<
HEAD
-
elsif
!
@merge_request
.
mergeable_ci_state?
&&
@pipeline
&&
@pipeline
.
failed?
=
render
'projects/merge_requests/widget/open/build_failed'
-
elsif
@merge_request
.
must_be_rebased?
-
elsif
@merge_request
.
must_be_rebased?
=
render
'projects/merge_requests/widget/open/rebase'
=
render
'projects/merge_requests/widget/open/rebase'
-
else
-
else
==
=====
-
elsif
!
@merge_request
.
mergeable_ci_state?
&&
@pipeline
&&
@pipeline
.
failed?
=
render
'projects/merge_requests/widget/open/build_failed'
-
elsif
@merge_request
.
can_be_merged?
>
>>>>>> 65df6bcb898e067e380658431136b5ef9aaba3b0
=
render
'projects/merge_requests/widget/open/accept'
=
render
'projects/merge_requests/widget/open/accept'
-
if
@closes_issues
.
present?
-
if
@closes_issues
.
present?
...
...
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