mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 21:26:07 +10:00
This is useful when there are many comments and they're becoming a distraction when trying to read the diff.
14 lines
438 B
Plaintext
14 lines
438 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.js-toggle-content
|
|
%td.notes_line{ colspan: 2 }
|
|
%span.btn.disabled
|
|
%i.icon-comment
|
|
= notes.count
|
|
%td.notes_content
|
|
%ul.notes{ rel: note.discussion_id }
|
|
= render notes
|
|
|
|
= render "projects/notes/discussion_reply_button", note: note
|