We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The date of the comments are not shown on your own comments.
Here is a quick untested patch to show the idea:
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)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The date of the comments are not shown on your own comments.
Here is a quick untested patch to show the idea:
The text was updated successfully, but these errors were encountered: