Commit 70df6055356ccc1cc1d8c8199e9b23d171d045f4
1 parent
59769fdb
Exists in
spb-stable
and in
3 other branches
Fix link for MR diff download
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
7 additions
and
5 deletions
Show diff stats
app/views/projects/merge_requests/show/_diffs.html.haml
| ... | ... | @@ -3,8 +3,10 @@ |
| 3 | 3 | - elsif @merge_request_diff.empty? |
| 4 | 4 | %h4.nothing_here_message Nothing to merge from #{@merge_request.source_branch} into #{@merge_request.target_branch} |
| 5 | 5 | - else |
| 6 | - %h4.nothing_here_message | |
| 7 | - Can't load diff. | |
| 8 | - You can | |
| 9 | - = link_to "download it", project_merge_request_path(@merge_request.source_project, @merge_request), format: :diff, class: "vlink" | |
| 10 | - instead. | |
| 6 | + .bs-callout.bs-callout-warning | |
| 7 | + %h4 | |
| 8 | + Diff for this comparison is extremely large. | |
| 9 | + %p | |
| 10 | + You can | |
| 11 | + = link_to "download it", project_merge_request_path(@merge_request.source_project, @merge_request, format: :diff), class: "vlink" | |
| 12 | + instead. | ... | ... |