BigW Consortium Gitlab

_diffs.html.haml 565 Bytes
Newer Older
1
- if @merge_request_diff.collected?
2
  = render "projects/diffs/diffs", diffs: @merge_request.diffs(diff_options),
Douwe Maan committed
3
    project: @merge_request.project, diff_refs: @merge_request.diff_refs
4
- elsif @merge_request_diff.empty?
Dmitriy Zaporozhets committed
5
  .nothing-here-block Nothing to merge from #{@merge_request.source_branch} into #{@merge_request.target_branch}
6
- else
7
  .alert.alert-warning
8
    %h4
9
      Changes view for this comparison is extremely large.
10 11
    %p
      You can
12
      = link_to "download it", merge_request_path(@merge_request, format: :diff), class: "vlink"
13
      instead.