mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +10:00
Merge pull request #8726 from jvanbaarsen/sidebar-colors-comment
Also show colors in the sidebar of comment
This commit is contained in:
@@ -19,8 +19,10 @@
|
||||
%td.new_line= "..."
|
||||
%td.line_content.matched= line.text
|
||||
- else
|
||||
%td.old_line= raw(line.type == "new" ? " " : line.old_pos)
|
||||
%td.new_line= raw(line.type == "old" ? " " : line.new_pos)
|
||||
%td.old_line{class: line.type == "new" ? "new" : "old"}
|
||||
= raw(line.type == "new" ? " " : line.old_pos)
|
||||
%td.new_line{class: line.type == "new" ? "new" : "old"}
|
||||
= raw(line.type == "old" ? " " : line.new_pos)
|
||||
%td.line_content{class: "noteable_line #{line.type} #{line_code}", "line_code" => line_code}= raw diff_line_content(line.text)
|
||||
|
||||
- if line_code == note.line_code
|
||||
|
||||
Reference in New Issue
Block a user