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
d7b5f478
Commit
d7b5f478
authored
Mar 03, 2017
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix contains merge conflicts button
parent
b9e9b11b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/views/projects/merge_requests/widget/open/_conflicts.html.haml
.../projects/merge_requests/widget/open/_conflicts.html.haml
+1
-2
No files found.
app/views/projects/merge_requests/widget/open/_conflicts.html.haml
View file @
d7b5f478
...
@@ -11,7 +11,6 @@
...
@@ -11,7 +11,6 @@
%ul
%ul
%li
%li
%span
%span
%p
To merge this request, resolve these conflicts
To merge this request, resolve these conflicts
-
if
can_resolve
&&
!
can_resolve_in_ui
-
if
can_resolve
&&
!
can_resolve_in_ui
locally
locally
...
@@ -21,7 +20,7 @@
...
@@ -21,7 +20,7 @@
merge it locally.
merge it locally.
-
if
(
can_resolve
&&
can_resolve_in_ui
)
||
can_merge
-
if
(
can_resolve
&&
can_resolve_in_ui
)
||
can_merge
.
btn-group
.
merged-buttons.clearfix
-
if
can_resolve
&&
can_resolve_in_ui
-
if
can_resolve
&&
can_resolve_in_ui
=
link_to
"Resolve conflicts"
,
conflicts_namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
),
class:
"btn"
=
link_to
"Resolve conflicts"
,
conflicts_namespace_project_merge_request_path
(
@project
.
namespace
,
@project
,
@merge_request
),
class:
"btn"
-
if
can_merge
-
if
can_merge
...
...
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