aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2009-10-29 02:41:06 +0000
committerFrancis Irving <francis@mysociety.org>2009-10-29 02:41:06 +0000
commit1e74ce210dd3584fbed6f53d2c0360045d7161b5 (patch)
treedd0bd095c167eec8204dfc0e51eae31f9bb046e5
parentca28720b9a3a36aab885a867ca9ccaf10f86a311 (diff)
Show your name on previews of comments where possible.
I prefer that, so I can tell what it will look like to other people, and who I'm logged in as.
-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 2b762ef10..1909c7f36 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_or_you_capital_link(comment.user) : "You" %>
+ <%= comment.user ? user_link(comment.user) : "You" %>
left an annotation (<%= simple_date(comment.created_at || Time.now) %>)
</h2>
<div class="comment_in_request_text">