2012-07-05 21:59:37 +02:00
|
|
|
- if @merge_request.valid_diffs?
|
2012-08-11 00:07:50 +02:00
|
|
|
= render "commits/diffs", diffs: @diffs
|
2012-07-05 21:59:37 +02:00
|
|
|
- elsif @merge_request.broken_diffs?
|
|
|
|
%h4.nothing_here_message
|
|
|
|
Can't load diff.
|
2012-08-11 00:07:50 +02:00
|
|
|
You can #{link_to "download MR patch", raw_project_merge_request_path(@project, @merge_request), class: "vlink"} instead.
|
2012-07-05 21:59:37 +02:00
|
|
|
- else
|
|
|
|
%h4.nothing_here_message Nothing to merge
|