mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
- Replace 'rel' attributes with 'data' or 'id' attributes - Style jQuery methods chaining according to Jacob's guidelines - Rename a method
14 lines
448 B
Plaintext
14 lines
448 B
Plaintext
- 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 }
|
|
%span.discussion-notes-count
|
|
%i.fa.fa-comment
|
|
= notes.count
|
|
%td.notes_content
|
|
%ul.notes{ data: { discussion_id: note.discussion_id } }
|
|
= render notes
|
|
.discussion-reply-holder
|
|
= link_to_reply_diff(note)
|