- Uploader: <%= link_to_unless(post.uploader.nil?, post.uploader_name, user_path(post.uploader)) %>
- Uploaded: <%= time_ago_in_words(post.created_at).gsub(/about/, "") %> ago
<% if post.approver %>
- Approver: <%= link_to(post.approver.name, user_path(post.approver_id)) %>
<% end %>
-
Size: <%= number_to_human_size(post.file_size) %>
<% if post.is_image? %>
(<%= post.image_width %>x<%= post.image_height %>)
<% end %>
-
Status:
<% if post.is_pending? %>
P
<% end %>
<% if post.is_deleted? %>
D
<% end %>
<% if post.is_flagged? %>
F
<% end %>
<% if !post.is_pending? && !post.is_deleted? %>
A
<% end %>
- <%= link_to "Tag History", post_versions_path(:search => {:post_id_eq => post.id}) %>
- <%= link_to "Note History", note_versions_path(:search => {:post_id_eq => post.id}) %>