- ID: <%= post.id %>
-
Uploader: <%= link_to_user(post.uploader) %>
<%= link_to "»", posts_path(tags: "user:#{post.uploader.name}") %>
-
Date: <%= link_to time_ago_in_words_tagged(post.created_at), posts_path(tags: "date:#{post.created_at.to_date}") %>
<% if post.approver %>
-
Approver: <%= link_to_user(post.approver) %>
<%= link_to "»", posts_path(tags: "approver:#{post.approver.name}") %>
<% end %>
-
Size: <%= link_to_if policy(post).visible?, "#{number_to_human_size(post.file_size)} .#{post.file_ext}", post.tagged_file_url %>
(<%= post.image_width %>x<%= post.image_height %>)
<%= link_to "»", @post.media_asset %>
- Source: <%= post_source_tag(post.source, post.normalized_source) %>
- Rating: <%= post.pretty_rating %>
-
Score: <%= render_post_votes post, current_user: CurrentUser.user %>
-
Favorites:
<%= tag.span class: "post-favcount", "data-id": post.id do %>
<%= link_to post.fav_count, post_favorites_path(post), rel: "nofollow" %>
<% end %>
-
Status:
<% if post.is_pending? %>
Pending
<% elsif post.is_flagged? %>
Flagged
<% elsif post.is_appealed? %>
Appealed
<% elsif post.is_deleted? %>
Deleted
<% else %>
Active
<% end %>
<% if post.is_banned? %>
Banned
<% end %>