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
Kazuhiko Shiozaki
gitlab-ce
Commits
1494bb3f
Commit
1494bb3f
authored
Jan 06, 2016
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force white theme when viewing diffs. #3945
parent
776d70d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/projects/diffs/_parallel_view.html.haml
app/views/projects/diffs/_parallel_view.html.haml
+1
-1
app/views/projects/diffs/_text_file.html.haml
app/views/projects/diffs/_text_file.html.haml
+1
-1
No files found.
app/views/projects/diffs/_parallel_view.html.haml
View file @
1494bb3f
/ Side-by-side diff view
/ Side-by-side diff view
%div
.text-file.diff-wrap-lines.code.file-content.js-syntax-highlight
{
class:
user_color_scheme
}
%div
.text-file.diff-wrap-lines.code.file-content.js-syntax-highlight
.white
%table
%table
-
parallel_diff
(
diff_file
,
index
).
each
do
|
line
|
-
parallel_diff
(
diff_file
,
index
).
each
do
|
line
|
-
type_left
=
line
[
0
]
-
type_left
=
line
[
0
]
...
...
app/views/projects/diffs/_text_file.html.haml
View file @
1494bb3f
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
.suppressed-container
.suppressed-container
%a
.show-suppressed-diff.js-show-suppressed-diff
Changes suppressed. Click to show.
%a
.show-suppressed-diff.js-show-suppressed-diff
Changes suppressed. Click to show.
%table
.text-file.code.js-syntax-highlight
{
class:
[
user_color_scheme
,
too_big
?
'hide'
:
''
]
}
%table
.text-file.code.js-syntax-highlight
.white
{
class:
too_big
?
'hide'
:
''
}
-
last_line
=
0
-
last_line
=
0
-
diff_file
.
highlighted_diff_lines
.
each_with_index
do
|
line
,
index
|
-
diff_file
.
highlighted_diff_lines
.
each_with_index
do
|
line
,
index
|
...
...
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