debian-mirror-gitlab/app/views/projects/notes/_diff_notes_with_reply.html.haml

14 lines
428 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
- note = notes.first # example note
-# Check if line want not changed since comment was left
- if !defined?(line) || line == note.diff_line
%tr.notes_holder
%td.notes_line{ colspan: 2 }
2015-04-26 12:48:37 +05:30
%span.discussion-notes-count
%i.fa.fa-comment
2014-09-02 18:07:02 +05:30
= notes.count
%td.notes_content
%ul.notes{ rel: note.discussion_id }
= render notes
.discussion-reply-holder
= link_to_reply_diff(note)