From 2e640baffd36c0d065bc28c347c2948312a7fee4 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 15 Aug 2013 16:31:13 -0400 Subject: [PATCH] Fix a broken avatar when showing who deleted a post --- app/assets/javascripts/discourse/views/actions_history_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/views/actions_history_view.js b/app/assets/javascripts/discourse/views/actions_history_view.js index ece98f66e..6bf5ec8c2 100644 --- a/app/assets/javascripts/discourse/views/actions_history_view.js +++ b/app/assets/javascripts/discourse/views/actions_history_view.js @@ -62,7 +62,7 @@ Discourse.ActionsHistoryView = Discourse.View.extend({ if (post.get('deleted')) { buffer.push("
" + 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'))) + "
"); }