Commit 357bf009 authored by Marin Jankovski's avatar Marin Jankovski

File mode changed note.

parent f827482c
...@@ -13,10 +13,14 @@ ...@@ -13,10 +13,14 @@
- if type == 'old' - if type == 'old'
%td.line_content{class: "parallel noteable_line old #{line_code}", "line_code" => line_code}= raw line %td.line_content{class: "parallel noteable_line old #{line_code}", "line_code" => line_code}= raw line
- else - else
%td.line_content.parallel= line %td.line_content.parallel= raw line
%td.new_line{data: {linenumber: line_new}} %td.new_line{data: {linenumber: line_new}}
= link_to raw(line_new) , "##{line_code}", id: line_code = link_to raw(line_new) , "##{line_code}", id: line_code
- if type == 'old' - if type == 'old'
%td.line_content.parallel{class: "noteable_line new #{line_code}", "line_code" => line_code}= raw next_line %td.line_content.parallel{class: "noteable_line new #{line_code}", "line_code" => line_code}= raw next_line
- else - else
%td.line_content.parallel= line %td.line_content.parallel= raw line
- if diff.diff.blank? && diff_file_mode_changed?(diff)
.file-mode-changed
File mode changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment