diff --git a/lib/philomena_web/templates/comment/_comment_with_image.html.slime b/lib/philomena_web/templates/comment/_comment_with_image.html.slime index 2f38b379..f5576129 100644 --- a/lib/philomena_web/templates/comment/_comment_with_image.html.slime +++ b/lib/philomena_web/templates/comment/_comment_with_image.html.slime @@ -16,7 +16,7 @@ article.block.communication id="comment_#{@comment.id}" ' Deletion reason: =<> @comment.deletion_reason - = if can?(@conn, :hide, @comment) do + = if can?(@conn, :hide, @comment) and not is_nil(@comment.deleted_by) do | ( = @comment.deleted_by.name | )