mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +10:00
Use note.author for issue comment avatars
This removes the need for running a query to find the User object again based on the supplied Email address.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
.timeline-entry-inner
|
||||
.timeline-icon
|
||||
= link_to user_path(note.author) do
|
||||
= image_tag avatar_icon(note.author_email), class: 'avatar s40', alt: ''
|
||||
= image_tag avatar_icon(note.author), class: 'avatar s40', alt: ''
|
||||
.timeline-content
|
||||
.note-header
|
||||
- if note_editable?(note)
|
||||
|
||||
Reference in New Issue
Block a user