diff options
author | Nur Rony <pro.nmrony@gmail.com> | 2017-01-24 14:41:25 +0600 |
---|---|---|
committer | Nur Rony <pro.nmrony@gmail.com> | 2017-01-24 14:41:25 +0600 |
commit | aeb1a1384735e05277028a713f0159e32a7a6a58 (patch) | |
tree | 964eff6ea0b2ab844ade523213f3d0e8a49c16bf /app | |
parent | b60de9c0fd90c310d2a4146f75b67f9f360cbd6c (diff) | |
download | gitlab-ce-aeb1a1384735e05277028a713f0159e32a7a6a58.tar.gz |
adds avatar for discussion note
Diffstat (limited to 'app')
-rw-r--r-- | app/views/discussions/_discussion.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/discussions/_discussion.html.haml b/app/views/discussions/_discussion.html.haml index 2bce2780484..6f5d4bf2a2f 100644 --- a/app/views/discussions/_discussion.html.haml +++ b/app/views/discussions/_discussion.html.haml @@ -1,6 +1,9 @@ - expanded = discussion.expanded? %li.note.note-discussion.timeline-entry .timeline-entry-inner + .timeline-icon + = link_to user_path(discussion.author) do + = image_tag avatar_icon(discussion.author), class: "avatar s40" .timeline-content .discussion.js-toggle-container{ class: discussion.id, data: { discussion_id: discussion.id } } .discussion-header |