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
%span
- if diff.deleted_file - if diff.deleted_file
%span= diff.old_path = diff.old_path
- else - else
%span= diff.new_path = diff.new_path
- if diff.a_mode && diff.b_mode && diff.a_mode != diff.b_mode - if diff.a_mode && diff.b_mode && diff.a_mode != diff.b_mode
%span.file-mode= "#{diff.a_mode}#{diff.b_mode}" %span.file-mode= "#{diff.a_mode}#{diff.b_mode}"
%br/
.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