debian-mirror-gitlab/app/views/projects/merge_requests/invalid.html.haml
2020-08-09 17:41:57 +05:30

25 lines
931 B
Text

- page_title "#{@merge_request.title} (#{@merge_request.to_reference}", _("Merge Requests")
.merge-request
= render "projects/merge_requests/mr_title"
= render "projects/merge_requests/mr_box"
.alert.alert-danger
%p
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.badge.badge-inverse= @merge_request.source_branch
does not exist in
%span.badge.badge-info= @merge_request.source_project_path
- elsif !@merge_request.target_branch_exists?
%span.badge.badge-inverse= @merge_request.target_branch
does not exist in
%span.badge.badge-info= @merge_request.target_project_path
- else
of internal error
%strong
Please close Merge Request or change branches with existing one