• ID: <%= post.id %>
  • <% if policy(post).can_view_uploader? %>
  • Uploader: <%= link_to_user(post.uploader) %> <%= link_to "»", posts_path(tags: "user:#{post.uploader.name}") %>
  • <% end %>
  • 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.tagged_file_url %> <% if post.has_dimensions? %> (<%= post.image_width %>x<%= post.image_height %>) <% end %>
  • Source: <%= post_source_tag(post.source, post.normalized_source) %>
  • Rating: <%= post.pretty_rating %>
  • Score: <%= post.score %> <% if policy(PostVote).create? %> <%= tag.span id: "vote-links-for-post-#{post.id}", style: ("display: none;" if !@post.can_be_voted_by?(CurrentUser.user)) do %> (vote <%= link_to tag.i(class: "far fa-thumbs-up"), post_post_votes_path(post_id: post.id, score: "up"), remote: true, method: :post %> <%= link_to tag.i(class: "far fa-thumbs-down"), post_post_votes_path(post_id: post.id, score: "down"), remote: true, method: :post %>) <% end %> <%= tag.span id: "unvote-link-for-post-#{post.id}", style: ("display: none;" if @post.can_be_voted_by?(CurrentUser.user)) do %> (<%= link_to "undo vote", post_post_votes_path(post), remote: true, method: :delete, class: "unvote-post-link" %>) <% end %> <% end %>
  • Favorites: <%= post.fav_count %> <% if policy(post).can_view_favlist? %> <%= link_to "Show »", "#", id: "show-favlist-link", style: ("display: none;" if post.fav_count == 0) %> <%= link_to "« Hide", "#", id: "hide-favlist-link", style: "display: none;" %>
    <%= post_favlist(post) %>
    <% end %>
  • Status: <% if post.is_pending? %> Pending <% end %> <% if post.is_deleted? %> Deleted <% end %> <% if post.is_flagged? %> Flagged <% end %> <% if post.is_banned? %> Banned <% end %> <% if !post.is_pending? && !post.is_deleted? && !post.is_banned? %> Active <% end %>