Commit 0d50a65b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix diff header in discussion blocks

parent 3a602c84
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
- if diff - if diff
.diff-file .diff-file
.diff-header .diff-header
- if diff.deleted_file %span
%span= diff.old_path - if diff.deleted_file
- else = diff.old_path
%span= diff.new_path - else
- if diff.a_mode && diff.b_mode && diff.a_mode != diff.b_mode = diff.new_path
%span.file-mode= "#{diff.a_mode}#{diff.b_mode}" - if diff.a_mode && diff.b_mode && diff.a_mode != diff.b_mode
%br/ %span.file-mode= "#{diff.a_mode}#{diff.b_mode}"
.diff-content .diff-content
%table %table
- note.truncated_diff_lines.each do |line| - note.truncated_diff_lines.each do |line|
......
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