aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/comment/_single_comment.rhtml2
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">