Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
3f283904
Commit
3f283904
authored
Aug 09, 2013
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better wording of diff surpression.
parent
ebf11981
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/projects/commits/_diffs.html.haml
app/views/projects/commits/_diffs.html.haml
+2
-2
app/views/projects/compare/show.html.haml
app/views/projects/compare/show.html.haml
+2
-2
No files found.
app/views/projects/commits/_diffs.html.haml
View file @
3f283904
...
@@ -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 pre
vent performance issue we rejected diff informatio
n.
%p
To pre
serve performance the diff is not show
n.
%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
...
...
app/views/projects/compare/show.html.haml
View file @
3f283904
...
@@ -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 pre
vent performance issue we don't show diff informatio
n.
%p
To pre
serve performance the line diff is not show
n.
-
if
@commits
.
present?
-
if
@commits
.
present?
%div
.ui-box
%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