<% if comment.previewing %>
<%= comment.user.username %>
previewed
just now
<% else %>
<%= comment.user.username
%>
<%= comment.updated_at ? "edited" : "" %>
<%= time_ago_in_words(comment.created_at).gsub(/^about /, "") %> ago
<%= comment.current_vote &&
comment.current_vote[:vote] == -1 ?
"(#{Vote::COMMENT_REASONS[comment.current_vote[:reason]]})" : ""
%>
<% end %>
<% if !comment.previewing %>
|
link
|
<% if comment.is_editable_by_user?(@user) %>
<% else %>
<% end %>
<% if false && defined?(collapsable) && collapsable # XXX %>
|
collapse
<% end %>
<% end %>
<% if defined?(show_story) && show_story %>
| on
<%= story.title %>
<% end %>