summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-30 01:50:15 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-30 01:50:15 -0700
commitacb65516f8e3c0bfe1e81dc2e202cd6808c2ef28 (patch)
tree2a75138cbd0616c662c2329d6ec09650c7a3a9ea /app/views
parent9e13160e647c04d99c20cee2bda648f3cea4a9f0 (diff)
parenta2be79568feb52fd743327fe99cfc8c54f882152 (diff)
downloadgitlab-ce-acb65516f8e3c0bfe1e81dc2e202cd6808c2ef28.tar.gz
Merge pull request #3652 from brodock/beautifull-diff
Diff with better colors and some spacing on the corners
Diffstat (limited to 'app/views')
-rw-r--r--app/views/commits/_text_file.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/commits/_text_file.html.haml b/app/views/commits/_text_file.html.haml
index 760fd07ed8b..8f737e43887 100644
--- a/app/views/commits/_text_file.html.haml
+++ b/app/views/commits/_text_file.html.haml
@@ -4,7 +4,7 @@
%table.text-file{class: "#{'hide' if too_big}"}
- each_diff_line(diff, index) do |line, type, line_code, line_new, line_old|
- %tr.line_holder{ id: line_code }
+ %tr.line_holder{ id: line_code, class: "#{type}" }
- if type == "match"
%td.old_line= "..."
%td.new_line= "..."