mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -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')) {
|
if (post.get('deleted')) {
|
||||||
buffer.push("<div class='post-action'>" +
|
buffer.push("<div class='post-action'>" +
|
||||||
I18n.t("post.deleted_by") + " " +
|
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'))) +
|
Discourse.Formatter.autoUpdatingRelativeAge(new Date(post.get('postDeletedAt'))) +
|
||||||
"</div>");
|
"</div>");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue