%p You can try to merge this request with GitLab. If failed you can always do it manually
%p
You can accept this request automatically. If you still want to do it manually - #{link_to"click here","#",:class=>"how_to_merge_link cwhite",:title=>"How To Merge"} for instructions
.alert-actions
.alert-actions
=link_to"Try Merge it!",automerge_project_merge_request_path(@project,@merge_request),:class=>"btn small success"
=link_to"Accept Merge Request",automerge_project_merge_request_path(@project,@merge_request),:class=>"btn small info"
=link_to"Show how to merge","#",:class=>"how_to_merge_link btn small padded",:title=>"How To Merge"
-else
-else
.alert-message.block-message
.alert-message
%p This request cant be merged with GitLab. You should do it manually
%p
.alert-actions
%strong This request cant be merged with GitLab. You should do it manually
%span.btn.small.disabled Try Merge it!
=link_to"Show how to merge","#",:class=>"how_to_merge_link btn small padded",:title=>"How To Merge"
=link_to"Show how to merge","#",:class=>"how_to_merge_link btn small padded success",:title=>"How To Merge"