diff options
author | tony <tony> | 2009-03-09 10:10:13 +0000 |
---|---|---|
committer | tony <tony> | 2009-03-09 10:10:13 +0000 |
commit | b39b62653466ed44363fa66b29e3a430c655ad78 (patch) | |
tree | 3886eacd5271a2a267e36d06fcf8e304315b1c1f | |
parent | 534735b27dbadd34c00fead2f56de592686582f7 (diff) |
Use user_or_you_capital_link instead of hand-rolling
-rw-r--r-- | app/views/comment/_single_comment.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/comment/_single_comment.rhtml b/app/views/comment/_single_comment.rhtml index 03c77f3b1..2b762ef10 100644 --- a/app/views/comment/_single_comment.rhtml +++ b/app/views/comment/_single_comment.rhtml @@ -1,7 +1,7 @@ <div class="comment_in_request" id="comment-<%=comment.id.to_s%>"> <h2> <%# When not logged in, but mid-comment-leaving, there'll be no comment.user %> - <%= !comment.user || (!@user.nil? && @user.id == comment.user.id) ? "You" : user_link(comment.user) %> + <%= comment.user ? user_or_you_capital_link(comment.user) : "You" %> left an annotation (<%= simple_date(comment.created_at || Time.now) %>) </h2> <div class="comment_in_request_text"> |