2013-03-20 14:22:29 -04:00
|
|
|
.merge-request
|
2013-06-23 12:47:22 -04:00
|
|
|
= render "projects/merge_requests/show/mr_title"
|
|
|
|
= render "projects/merge_requests/show/mr_box"
|
2013-03-20 14:22:29 -04:00
|
|
|
|
|
|
|
.alert.alert-error
|
|
|
|
%p
|
2013-12-12 04:51:39 -05:00
|
|
|
We cannot render this merge request properly because
|
|
|
|
- if @merge_request.for_fork? && !@merge_request.source_project
|
|
|
|
fork project was removed
|
|
|
|
- elsif !@merge_request.source_branch_exists?
|
|
|
|
%span.label.label-inverse= @merge_request.source_branch
|
|
|
|
does not exist in
|
|
|
|
%span.label.label-info= @merge_request.source_project_path
|
|
|
|
- elsif !@merge_request.target_branch_exists?
|
|
|
|
%span.label.label-inverse= @merge_request.target_branch
|
|
|
|
does not exist in
|
|
|
|
%span.label.label-info= @merge_request.target_project_path
|
|
|
|
- else
|
|
|
|
of internal error
|
|
|
|
|
|
|
|
%strong
|
2013-03-20 14:22:29 -04:00
|
|
|
Please close Merge Request or change branches with existing one
|
|
|
|
|