Commit 70df6055 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix link for MR diff download

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 59769fdb
...@@ -3,8 +3,10 @@ ...@@ -3,8 +3,10 @@
- elsif @merge_request_diff.empty? - elsif @merge_request_diff.empty?
%h4.nothing_here_message Nothing to merge from #{@merge_request.source_branch} into #{@merge_request.target_branch} %h4.nothing_here_message Nothing to merge from #{@merge_request.source_branch} into #{@merge_request.target_branch}
- else - else
%h4.nothing_here_message .bs-callout.bs-callout-warning
Can't load diff. %h4
You can Diff for this comparison is extremely large.
= link_to "download it", project_merge_request_path(@merge_request.source_project, @merge_request), format: :diff, class: "vlink" %p
instead. You can
= link_to "download it", project_merge_request_path(@merge_request.source_project, @merge_request, format: :diff), class: "vlink"
instead.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment