Commit 2333bdae authored by Regis's avatar Regis

MWBS html

parent d7b5f478
...@@ -4,14 +4,19 @@ ...@@ -4,14 +4,19 @@
%h4 %h4
Set by #{link_to_member(@project, @merge_request.merge_user, avatar: true)} Set by #{link_to_member(@project, @merge_request.merge_user, avatar: true)}
to be merged automatically when the pipeline succeeds. to be merged automatically when the pipeline succeeds.
%div .remove-message-pipes
%p %ul
%li
%span
= succeed '.' do = succeed '.' do
The changes will be merged into The changes will be merged into <b>#{@merge_request.target_branch}</b>
%span.label-branch= @merge_request.target_branch
- if @merge_request.remove_source_branch? - if @merge_request.remove_source_branch?
%li
%span
The source branch will be removed. The source branch will be removed.
- else - else
%li
%span
The source branch will not be removed. The source branch will not be removed.
- remove_source_branch_button = !@merge_request.remove_source_branch? && @merge_request.can_remove_source_branch?(current_user) && @merge_request.merge_user == current_user - remove_source_branch_button = !@merge_request.remove_source_branch? && @merge_request.can_remove_source_branch?(current_user) && @merge_request.merge_user == current_user
......
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