From 3d7b35a37d30365088947de0cf85cc7d4af79162 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Fri, 20 Jan 2012 09:51:48 +0200 Subject: per line comment fix --- app/views/commits/_text_file.html.haml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/views/commits/_text_file.html.haml') 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/, '')) -- cgit v1.2.3