diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-07-04 11:06:32 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-07-13 13:24:56 +0530 |
commit | af7e75162efe07e9fcb1186462e56bd2325018de (patch) | |
tree | 169c65f72de7173516c3eafb8c20f5db13ae6d58 /app/views/projects | |
parent | 959d63ab1a5559f5f60ba7378a59e2d0fdb17c73 (diff) | |
download | gitlab-ce-af7e75162efe07e9fcb1186462e56bd2325018de.tar.gz |
Don't ask the user to "merge this request manually".
1. If they are a developer with "Developers can Merge" switched on.
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/merge_requests/widget/open/_conflicts.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/widget/open/_conflicts.html.haml b/app/views/projects/merge_requests/widget/open/_conflicts.html.haml index 06ab0a3fa00..f000cc38a65 100644 --- a/app/views/projects/merge_requests/widget/open/_conflicts.html.haml +++ b/app/views/projects/merge_requests/widget/open/_conflicts.html.haml @@ -4,7 +4,7 @@ %p Please resolve these conflicts or - - if @merge_request.can_be_merged_by?(current_user) + - if @merge_request.can_be_merged_via_command_line_by?(current_user) #{link_to "merge this request manually", "#modal_merge_info", class: "how_to_merge_link vlink", "data-toggle" => "modal"}. - else ask someone with write access to this repository to merge this request manually. |