Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-01-20 11:51:48 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-01-20 11:51:48 +0400
commit3d7b35a37d30365088947de0cf85cc7d4af79162 (patch)
tree6824f72f50b36a54dc9dfe4e1ebb4c19d67a6971 /app/views/commits/_text_file.html.haml
parent8c46123f9902cfb173e0bdc80c3e111eba1b1841 (diff)
per line comment fix
Diffstat (limited to 'app/views/commits/_text_file.html.haml')
-rw-r--r--app/views/commits/_text_file.html.haml4
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 &nbsp;
- next
- full_line = html_escape(line.gsub(/\n/, ''))