2012-07-05 15:59:37 -04:00
|
|
|
- if @merge_request.valid_diffs?
|
2012-08-10 18:07:50 -04:00
|
|
|
= render "commits/diffs", diffs: @diffs
|
2012-07-05 15:59:37 -04:00
|
|
|
- elsif @merge_request.broken_diffs?
|
2012-11-22 15:50:36 -05:00
|
|
|
%h4.nothing_here_message
|
2012-07-05 15:59:37 -04:00
|
|
|
Can't load diff.
|
2012-11-22 15:50:36 -05:00
|
|
|
You can
|
2013-05-22 07:06:08 -04:00
|
|
|
= link_to "download it", project_merge_request_path(@project, @merge_request, format: :diff), class: "vlink"
|
2012-11-22 15:50:36 -05:00
|
|
|
instead.
|
2012-07-05 15:59:37 -04:00
|
|
|
- else
|
|
|
|
%h4.nothing_here_message Nothing to merge
|