diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-01-20 14:51:56 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-01-20 14:53:20 +0100 |
commit | 701513dcc7afb403372bc738642a9a52e9be5983 (patch) | |
tree | f2eb3cf87de08bbfdfb22d67de7112616b766426 /app/views/projects/notes | |
parent | c7264d2a76abdc9d173e2160e27974d41380e93f (diff) | |
download | gitlab-ce-701513dcc7afb403372bc738642a9a52e9be5983.tar.gz |
Move parallel diff logic to separate class
Diffstat (limited to 'app/views/projects/notes')
-rw-r--r-- | app/views/projects/notes/discussions/_diff.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/notes/discussions/_diff.html.haml b/app/views/projects/notes/discussions/_diff.html.haml index 97347a9f67f..46962b184ce 100644 --- a/app/views/projects/notes/discussions/_diff.html.haml +++ b/app/views/projects/notes/discussions/_diff.html.haml @@ -24,7 +24,7 @@ = raw(type == "new" ? " " : line.old_pos) %td.new_line = raw(type == "old" ? " " : line.new_pos) - %td.line_content{class: "noteable_line #{type} #{line_code}", "line_code" => line_code}= diff_line_content(line.text) + %td.line_content{class: "noteable_line #{type} #{line_code}", line_code: line_code}= diff_line_content(line.text) - if line_code == note.line_code = render "projects/notes/diff_notes_with_reply", notes: discussion_notes |