diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-01-20 11:51:48 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-01-20 11:51:48 +0400 |
commit | 3d7b35a37d30365088947de0cf85cc7d4af79162 (patch) | |
tree | 6824f72f50b36a54dc9dfe4e1ebb4c19d67a6971 /app/views/commits/_text_file.html.haml | |
parent | 8c46123f9902cfb173e0bdc80c3e111eba1b1841 (diff) |
per line comment fix
Diffstat (limited to 'app/views/commits/_text_file.html.haml')
-rw-r--r-- | app/views/commits/_text_file.html.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/commits/_text_file.html.haml b/app/views/commits/_text_file.html.haml index c61d82d31cf..1456257ce3d 100644 --- a/app/views/commits/_text_file.html.haml +++ b/app/views/commits/_text_file.html.haml @@ -10,6 +10,10 @@ - if line.match(/^@@ -/) - line_old = line.match(/\-[0-9]*/)[0].to_i.abs rescue 0 - line_new = line.match(/\+[0-9]*/)[0].to_i.abs rescue 0 + %tr.line_holder + %td.old_line= "..." + %td.new_line= "..." + %td.line_content - next - full_line = html_escape(line.gsub(/\n/, '')) |