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?
|
2012-11-22 21:50:36 +01:00
|
|
|
%h4.nothing_here_message
|
2012-07-05 21:59:37 +02:00
|
|
|
Can't load diff.
|
2012-11-22 21:50:36 +01:00
|
|
|
You can
|
|
|
|
= link_to "download it", project_merge_request_path(@project, @merge_request), format: :diff, class: "vlink"
|
|
|
|
instead.
|
2012-07-05 21:59:37 +02:00
|
|
|
- else
|
|
|
|
%h4.nothing_here_message Nothing to merge
|