debian-mirror-gitlab/app/views/projects/merge_requests/show/_diffs.html.haml

14 lines
565 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
- if @merge_request_diff.collected?
2016-06-02 11:05:42 +05:30
= render "projects/diffs/diffs", diffs: @merge_request.diffs(diff_options),
2016-01-29 22:53:50 +05:30
project: @merge_request.project, diff_refs: @merge_request.diff_refs
2014-09-02 18:07:02 +05:30
- elsif @merge_request_diff.empty?
.nothing-here-block Nothing to merge from #{@merge_request.source_branch} into #{@merge_request.target_branch}
- else
2015-04-26 12:48:37 +05:30
.alert.alert-warning
2014-09-02 18:07:02 +05:30
%h4
Changes view for this comparison is extremely large.
%p
You can
2015-04-26 12:48:37 +05:30
= link_to "download it", merge_request_path(@merge_request, format: :diff), class: "vlink"
2014-09-02 18:07:02 +05:30
instead.