BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
2ff83aa3
Commit
2ff83aa3
authored
Sep 09, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo.
parent
ac6a107a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
diff_helper.rb
app/helpers/diff_helper.rb
+1
-1
_diffs.html.haml
app/views/projects/diffs/_diffs.html.haml
+1
-1
No files found.
app/helpers/diff_helper.rb
View file @
2ff83aa3
...
...
@@ -13,7 +13,7 @@ module DiffHelper
end
end
def
show_diff_size_warnin
i
g?
(
diffs
)
def
show_diff_size_warning?
(
diffs
)
diffs
.
size
>
allowed_diff_size
end
...
...
app/views/projects/diffs/_diffs.html.haml
View file @
2ff83aa3
...
...
@@ -12,7 +12,7 @@
=
link_to
"Inline Diff"
,
url_for
(
params_copy
),
{
id:
"commit-diff-viewtype"
}
-
if
show_diff_size_warnin
i
g?
(
diffs
)
-
if
show_diff_size_warning?
(
diffs
)
=
render
'projects/diffs/warning'
,
diffs:
diffs
.files
...
...
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