04a87cb5c4
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
13 lines
547 B
Text
13 lines
547 B
Text
- note = discussion_notes.first
|
|
.timeline-entry
|
|
.timeline-entry-inner
|
|
.timeline-icon
|
|
= image_tag avatar_icon(note.author_email), class: "avatar s40"
|
|
.timeline-content
|
|
- if note.for_merge_request?
|
|
- if note.outdated?
|
|
= render "projects/notes/discussions/outdated", discussion_notes: discussion_notes
|
|
- else
|
|
= render "projects/notes/discussions/active", discussion_notes: discussion_notes
|
|
- else
|
|
= render "projects/notes/discussions/commit", discussion_notes: discussion_notes
|