diff options
author | Sytse Sijbrandij <sytse@dosire.com> | 2013-08-09 14:25:22 +0200 |
---|---|---|
committer | Sytse Sijbrandij <sytse@dosire.com> | 2013-08-09 14:25:22 +0200 |
commit | 3f283904b08fa7f6abef7bb0013c152f1792c89a (patch) | |
tree | f391952bb6b55ed2a3d5fb8f8233a150d49c8cc9 /app | |
parent | ebf11981e07d334ffe902fd04ec418e602789bd9 (diff) | |
download | gitlab-ce-3f283904b08fa7f6abef7bb0013c152f1792c89a.tar.gz |
Better wording of diff surpression.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/commits/_diffs.html.haml | 4 | ||||
-rw-r--r-- | app/views/projects/compare/show.html.haml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/commits/_diffs.html.haml b/app/views/projects/commits/_diffs.html.haml index ca025731258..5a3a9bd16af 100644 --- a/app/views/projects/commits/_diffs.html.haml +++ b/app/views/projects/commits/_diffs.html.haml @@ -2,9 +2,9 @@ .alert.alert-block %p %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 - 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" %p.commit-stat-summary diff --git a/app/views/projects/compare/show.html.haml b/app/views/projects/compare/show.html.haml index 266c14b358a..bd0a3840adb 100644 --- a/app/views/projects/compare/show.html.haml +++ b/app/views/projects/compare/show.html.haml @@ -8,8 +8,8 @@ - if @commits.size > 100 .alert.alert-block %p - %strong Warning! This comparison include 100+ commits. - %p To prevent performance issue we don't show diff information. + %strong Warning! This comparison include more than 100 commits. + %p To preserve performance the line diff is not shown. - if @commits.present? %div.ui-box |