2015-03-07 02:36:22 +00:00
|
|
|
.alert.alert-warning
|
2014-07-15 15:28:21 +00:00
|
|
|
%h4
|
2015-07-06 20:03:36 +00:00
|
|
|
Too many changes to show.
|
2018-04-09 17:42:45 +00:00
|
|
|
.float-right
|
2017-06-13 22:12:31 +00:00
|
|
|
- if current_controller?(:commit)
|
2017-06-29 17:06:35 +00:00
|
|
|
= link_to "Plain diff", project_commit_path(@project, @commit, format: :diff), class: "btn btn-sm"
|
|
|
|
= link_to "Email patch", project_commit_path(@project, @commit, format: :patch), class: "btn btn-sm"
|
2017-06-13 22:12:31 +00:00
|
|
|
- elsif current_controller?('projects/merge_requests/diffs') && @merge_request&.persisted?
|
|
|
|
= link_to "Plain diff", merge_request_path(@merge_request, format: :diff), class: "btn btn-sm"
|
|
|
|
= link_to "Email patch", merge_request_path(@merge_request, format: :patch), class: "btn btn-sm"
|
2014-07-15 15:28:21 +00:00
|
|
|
%p
|
|
|
|
To preserve performance only
|
2016-07-28 12:44:00 +00:00
|
|
|
%strong #{diff_files.size} of #{diff_files.real_size}
|
2015-02-14 20:13:31 +00:00
|
|
|
files are displayed.
|