Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
6d5065ba619c
Commit
3f283904
authored
Aug 09, 2013
by
Sytse Sijbrandij
Browse files
Better wording of diff surpression.
parent
75beef31fbeb
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/views/projects/commits/_diffs.html.haml
View file @
6d5065ba
...
...
@@ -2,9 +2,9 @@
.alert.alert-block
%p
%strong
Warning! Large commit with more than
#{
Commit
::
DIFF_SAFE_SIZE
}
files changed.
%p
To preve
nt
performance
issue we rejected diff informatio
n.
%p
To pre
ser
ve performance
the diff is not show
n.
%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
...
...
app/views/projects/compare/show.html.haml
View file @
6d5065ba
...
...
@@ -8,8 +8,8 @@
-
if
@commits
.
size
>
100
.alert.alert-block
%p
%strong
Warning! This comparison include 100
+
commits.
%p
To preve
nt
performance
issue we don't show diff informatio
n.
%strong
Warning! This comparison include
more than
100 commits.
%p
To pre
ser
ve performance
the line diff is not show
n.
-
if
@commits
.
present?
%div
.ui-box
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment