summaryrefslogtreecommitdiff
path: root/app/views/projects/notes/_diff_notes_with_reply_parallel.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-07-20 16:18:18 -0600
committerDouwe Maan <douwe@selenight.nl>2016-07-20 16:18:18 -0600
commit79214be727aaa0704a1be5b50aa6dd3011629bc2 (patch)
tree8be3ad3775acebb43b114cd90a8fc919097a7b2c /app/views/projects/notes/_diff_notes_with_reply_parallel.html.haml
parent5a77eb153669bfbac4ab1f05615d11965beb826d (diff)
downloadgitlab-ce-79214be727aaa0704a1be5b50aa6dd3011629bc2.tar.gz
Add Discussion model to represent MR/diff discussiondiscussion-model
Diffstat (limited to 'app/views/projects/notes/_diff_notes_with_reply_parallel.html.haml')
-rw-r--r--app/views/projects/notes/_diff_notes_with_reply_parallel.html.haml25
1 files changed, 0 insertions, 25 deletions
diff --git a/app/views/projects/notes/_diff_notes_with_reply_parallel.html.haml b/app/views/projects/notes/_diff_notes_with_reply_parallel.html.haml
deleted file mode 100644
index e50a4f86d03..00000000000
--- a/app/views/projects/notes/_diff_notes_with_reply_parallel.html.haml
+++ /dev/null
@@ -1,25 +0,0 @@
-- note_left = notes_left.present? ? notes_left.first : nil
-- note_right = notes_right.present? ? notes_right.first : nil
-
-%tr.notes_holder
- - if note_left
- %td.notes_line.old
- %td.notes_content.parallel.old
- %ul.notes{ data: { discussion_id: note_left.discussion_id } }
- = render partial: "projects/notes/note", collection: notes_left, as: :note
-
- = link_to_reply_discussion(note_left, 'old')
- - else
- %td.notes_line.old= ""
- %td.notes_content.parallel.old= ""
-
- - if note_right
- %td.notes_line.new
- %td.notes_content.parallel.new
- %ul.notes{ data: { discussion_id: note_right.discussion_id } }
- = render partial: "projects/notes/note", collection: notes_right, as: :note
-
- = link_to_reply_discussion(note_right, 'new')
- - else
- %td.notes_line.new= ""
- %td.notes_content.parallel.new= ""