mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
Fix a broken avatar when showing who deleted a post
This commit is contained in:
parent
73e4d866d2
commit
2e640baffd
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ Discourse.ActionsHistoryView = Discourse.View.extend({
|
|||
if (post.get('deleted')) {
|
||||
buffer.push("<div class='post-action'>" +
|
||||
I18n.t("post.deleted_by") + " " +
|
||||
Discourse.Utilities.tinyAvatar(post.get('postDeletedBy.username')) +
|
||||
Discourse.Utilities.tinyAvatar(post.get('postDeletedBy.avatar_template')) +
|
||||
Discourse.Formatter.autoUpdatingRelativeAge(new Date(post.get('postDeletedAt'))) +
|
||||
"</div>");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue