2014-01-22 08:20:40 -05:00
|
|
|
- if @merge_request_diff.collected?
|
2016-07-27 13:00:34 -04:00
|
|
|
= render "projects/diffs/diffs", diffs: @diffs
|
2014-01-22 08:20:40 -05:00
|
|
|
- elsif @merge_request_diff.empty?
|
2014-02-20 06:51:22 -05:00
|
|
|
.nothing-here-block Nothing to merge from #{@merge_request.source_branch} into #{@merge_request.target_branch}
|
2014-01-22 08:20:40 -05:00
|
|
|
- else
|
2015-03-06 21:36:22 -05:00
|
|
|
.alert.alert-warning
|
2014-02-12 06:03:32 -05:00
|
|
|
%h4
|
2014-03-26 08:51:28 -04:00
|
|
|
Changes view for this comparison is extremely large.
|
2014-02-12 06:03:32 -05:00
|
|
|
%p
|
|
|
|
You can
|
2015-02-25 22:50:01 -05:00
|
|
|
= link_to "download it", merge_request_path(@merge_request, format: :diff), class: "vlink"
|
2014-02-12 06:03:32 -05:00
|
|
|
instead.
|