<%= link_to post.user, post.user, :class => (post.user.admin? ? "red" : "") %>
<%= image_tag post.user.profile.avatar.url, :class => "centered" %>
<% if post.user.team %>
<%= namelink post.user.team %>
<% end %>
<%= cascade post.user, [["Posts", "posts.count"], "from", "joined"] %>
|
<%= link_to "Send PM", :controller => "messages", :action => "new", :id => "User", :id2 => post.user %>
|
<%= raw post.user.profile.signature_parsed if post.user.profile.signature_parsed %>
<% if post.topic.posts.build.can_create? cuser %>
<%= link_to_function 'QuoteReply', "QuoteText(#{post.id}); $('tr#reply').fadeIn('slow');" %>
<% end %>
<% if post.can_update? cuser %>
<%= link_to 'Edit', edit_post_path(post) %>
<% end %>
<% if post.can_destroy? cuser %>
<%= link_to 'Delete', post, :confirm => 'Are you sure?', :method => :delete %>
<% end %>
|