Commit 423390a2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Separate accept MR settings from manual merge instructions. Remove confusing `click here` links

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent aaa2bbd7
...@@ -15,17 +15,12 @@ ...@@ -15,17 +15,12 @@
= form_for [:automerge, @project, @merge_request], remote: true, method: :post do |f| = form_for [:automerge, @project, @merge_request], remote: true, method: :post do |f|
%h4 %h4
You can accept this request automatically. You can accept this request automatically.
%div .accept-merge-holder.clearfix
If you still want to do it manually -
%strong
= link_to "click here", "#modal_merge_info", class: "how_to_merge_link vlink", title: "How To Merge", "data-toggle" => "modal"
for instructions.
.js-toggle-container .js-toggle-container
%p %p
If you want to modify merge commit message - You can
%strong %strong= link_to "modify merge commit message", "#", class: "modify-merge-commit-link js-toggle-button", title: "Modify merge commit message"
= link_to "click here", "#", class: "modify-merge-commit-link js-toggle-button", title: "Modify merge commit message" before accepting merge request
.js-toggle-content.hide .js-toggle-content.hide
.form-group .form-group
= label_tag :merge_commit_message, "Commit message", class: 'control-label' = label_tag :merge_commit_message, "Commit message", class: 'control-label'
...@@ -44,6 +39,12 @@ ...@@ -44,6 +39,12 @@
= check_box_tag :should_remove_source_branch = check_box_tag :should_remove_source_branch
Remove source-branch Remove source-branch
%hr
.light
If you still want to merge this request manually - use
%strong
= link_to "command line", "#modal_merge_info", class: "how_to_merge_link vlink", title: "How To Merge", "data-toggle" => "modal"
.automerge_widget.no_satellite.hide .automerge_widget.no_satellite.hide
%p %p
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment