Commit 3f283904 authored by Sytse Sijbrandij's avatar Sytse Sijbrandij

Better wording of diff surpression.

parent ebf11981
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
.alert.alert-block .alert.alert-block
%p %p
%strong Warning! Large commit with more than #{Commit::DIFF_SAFE_SIZE} files changed. %strong Warning! Large commit with more than #{Commit::DIFF_SAFE_SIZE} files changed.
%p To prevent performance issue we rejected diff information. %p To preserve performance the diff is not shown.
%p %p
But if you still want to see diff But if you still want to see the diff
= link_to "click this link", project_commit_path(project, @commit, force_show_diff: true), class: "underlined_link" = link_to "click this link", project_commit_path(project, @commit, force_show_diff: true), class: "underlined_link"
%p.commit-stat-summary %p.commit-stat-summary
......
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
- if @commits.size > 100 - if @commits.size > 100
.alert.alert-block .alert.alert-block
%p %p
%strong Warning! This comparison include 100+ commits. %strong Warning! This comparison include more than 100 commits.
%p To prevent performance issue we don't show diff information. %p To preserve performance the line diff is not shown.
- if @commits.present? - if @commits.present?
%div.ui-box %div.ui-box
......
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