summaryrefslogtreecommitdiff
path: root/app/views/commits
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2013-04-21 05:20:56 -0300
committerGabriel Mazetto <brodock@gmail.com>2013-04-21 05:20:56 -0300
commita2be79568feb52fd743327fe99cfc8c54f882152 (patch)
treeb78b21358201f4ae312d2279611a0c02e5f13fe8 /app/views/commits
parent44d63b4ceaed168f7e468cc6784618690e64fb84 (diff)
downloadgitlab-ce-a2be79568feb52fd743327fe99cfc8c54f882152.tar.gz
Diff with better colors and some spacing on the corners
Diffstat (limited to 'app/views/commits')
-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= "..."