Fix a broken avatar when showing who deleted a post

This commit is contained in:
Neil Lalonde 2013-08-15 16:31:13 -04:00
parent 73e4d866d2
commit 2e640baffd

View file

@ -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>");
} }