From c46b6d80aa0de1eae5d20d4465c4449d4dd074e9 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sat, 27 Nov 2010 17:07:35 -0500 Subject: [PATCH] Correct math, take out link_tos --- app/views/comments/_comment.html.haml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/comments/_comment.html.haml b/app/views/comments/_comment.html.haml index a03cc6e30..51057cee7 100644 --- a/app/views/comments/_comment.html.haml +++ b/app/views/comments/_comment.html.haml @@ -4,10 +4,12 @@ %li.comment{:data=>{:guid=>comment.id}} -start=Time.now - = person_image_link(person) + %a{:href => "/people/#{person.id}"} + =person_image_tag(person) - post_image_link=Time.now .content .from + %a{:href => "/people/#{person.id}", :title => person.real_name} = link_to person.real_name, person - post_person_link=Time.now = markdownify(comment.text, :youtube_maps => comment[:youtube_titles]) @@ -17,7 +19,7 @@ - time_agoed=Time.now - log_string = "event=comment_partial im_link=#{(post_image_link - start)*1000} " - log_string << "pr_link=#{(post_person_link - post_image_link)*1000} " -- log_string << "markdown=#{(markdownified - post_image_link)*1000} " +- log_string << "markdown=#{(markdownified - post_person_link)*1000} " - log_string << "time_agoed=#{(time_agoed - markdownified)*1000} " - log_string << "total=#{(time_agoed - start)*1000} " - log_string << "comment_id=#{comment.id}"