summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2016-01-06 21:01:44 -0500
committerRubén Dávila <rdavila84@gmail.com>2016-01-06 21:01:44 -0500
commit1494bb3f253b2e37065080c27af22ec531966ab7 (patch)
tree25b39edd624d2840de3383938113928384c42f3b /app/views/projects/diffs
parent776d70d11b822e5991d518e91b138853275ef42c (diff)
downloadgitlab-ce-1494bb3f253b2e37065080c27af22ec531966ab7.tar.gz
Force white theme when viewing diffs. #3945
Diffstat (limited to 'app/views/projects/diffs')
-rw-r--r--app/views/projects/diffs/_parallel_view.html.haml2
-rw-r--r--app/views/projects/diffs/_text_file.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/diffs/_parallel_view.html.haml b/app/views/projects/diffs/_parallel_view.html.haml
index 6a7d4f2db20..2a43bbd11f2 100644
--- a/app/views/projects/diffs/_parallel_view.html.haml
+++ b/app/views/projects/diffs/_parallel_view.html.haml
@@ -1,5 +1,5 @@
/ 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
- parallel_diff(diff_file, index).each do |line|
- type_left = line[0]
diff --git a/app/views/projects/diffs/_text_file.html.haml b/app/views/projects/diffs/_text_file.html.haml
index 5509d5403b0..8e86219155f 100644
--- a/app/views/projects/diffs/_text_file.html.haml
+++ b/app/views/projects/diffs/_text_file.html.haml
@@ -3,7 +3,7 @@
.suppressed-container
%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
- diff_file.highlighted_diff_lines.each_with_index do |line, index|