<%= text_field_tag "query", params[:query], :size => 40 %> <%= submit_tag "Search" %>

Moderation Queue

Deletion Guidelines

As a general rule, you should not delete posts. Only approve of posts that you personally like. Posts that are not approved in three days will be automatically deleted. Posts with score -3 or lower are marked red. Posts with score 3 or higher are marked green. Posts tagged as duplicate are marked yellow. <% if params[:hidden] %>Click <%= fast_link_to "here", :action => "moderate", :query => params[:query], :hidden => nil %> to view all posts.<% else %>Click <%= fast_link_to "here", :action => "moderate", :query => params[:query], :hidden => true %> to view hidden posts.<% end %>

Mass update: <%= link_to_function "Approve all", "if (confirm('This will approve every pending post on this page. Continue?')) {Post.mass_moderate('Approve')}" %> | <%= link_to_function "Hide all", "if (confirm('This will hide every pending post on this page. Continue?')) {Post.mass_moderate('Hide')}" %>

<% @posts.each do |p| %> <% end %>
<%= fast_link_to image_tag(p.preview_url, :class => (p.status == "flagged" ? "flagged" : nil), :width => p.preview_dimensions[0], :height => p.preview_dimensions[1]), {:controller => "post", :action => "show", :id => p.id}, :target => "_blank" %>
  • <%= link_to_function "Approve", "Post.moderate(#{p.id}, 'Approve')" %> | <% if @current_user.is_janitor_or_higher? %> <%= link_to_function "Delete", "Post.moderate(#{p.id}, 'Delete')" %> | <% end %> <%= link_to_function "Hide", "Post.moderate(#{p.id}, 'Hide')" %>
  • Rating: <%= p.pretty_rating %>
  • Hidden: <%= p.mod_hidden_count %>
  • <% if p.pools.any? %>
  • Pools: <%= h p.pools.map {|x| x.pretty_name}.join(", ") %>
  • <% end %> <% if p.parent_id %>
  • Parent: <%= fast_link_to p.parent_id, :action => "moderate", :query => "parent:#{p.parent_id}" %>
  • <% end %>
  • Tags: <%= h p.cached_tags %>
  • Score: <%= p.score %> (vote <%= link_to_function "down", "Post.vote(-1, #{p.id})" %>)
  • <% if p.flag_detail && p.flag_detail.reason %>
  • Flagged: <%= h p.flag_detail.reason %>
  • <% end %>
  • Uploaded by <%= fast_link_to h(p.author), :controller => "user", :action => "show", :id => p.user_id %> <%= time_ago_in_words(p.created_at) %> ago (<%= fast_link_to "mod", :action => "moderate", :query => "user:#{p.author}" %>)
<%= render :partial => "footer" %>