rmu/university-web — Issue #125: Missing date for your own comments
Author: eregon
Created: 2011-11-20 13:28:02+00:00
State: open

The date of the comments are not shown on your own comments.

Here is a quick untested patch to show the idea:

```diff
diff --git a/app/views/comments/_show.html.haml b/app/views/comments/_show.html.haml
index c6dc46d..06505b0 100644
--- a/app/views/comments/_show.html.haml
+++ b/app/views/comments/_show.html.haml
@@ -13,15 +13,14 @@
= link_to "commented", "##{comment.index}"
= link_to comment.index, "##{comment.index}", :class => "number"
.controls
+ .on
+ = time_ago_in_words comment.created_at
+ ago
- if current_user == comment.user
= link_to '', '#', :class => "edit", :title => "Edit"
= link_to '', comment_path(comment),
:class => "remove", :title => "Delete",
:method => :delete, :remote => true,
:confirm => "Are you sure you wish to delete this comment?"
- - else
- .on
- = time_ago_in_words comment.created_at
- ago
= link_to '', '#new_comment', :class => "reply", :title => "Reply"
.content= md(comment.comment_text)
```