40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
<% page_title "Mod Queue" %>
|
|
|
|
<div id="c-modqueue">
|
|
<div id="a-index">
|
|
<div>
|
|
<h1>Moderation Queue</h1>
|
|
|
|
<%= search_form_for(modqueue_index_path) do |f| %>
|
|
<%= f.input :tags, input_html: { value: params.dig(:search, :tags), "data-autocomplete": "tag-query" } %>
|
|
<%= f.submit "Search" %>
|
|
<% end %>
|
|
|
|
<div id="moderation-guideline" class="fixed-width-container">
|
|
<h2>Deletion Guidelines</h2>
|
|
|
|
<%= render "desc" %>
|
|
|
|
<p>
|
|
<% if params.dig(:search, :hidden) %>
|
|
<%= link_to "View pending posts", modqueue_index_path(search: { tags: params.dig(:search, :tags), hidden: nil }) %>.
|
|
<% else %>
|
|
<%= link_to "View hidden posts", modqueue_index_path(search: { tags: params.dig(:search, :tags), hidden: true, }) %>.
|
|
<% end %>
|
|
</p>
|
|
</div>
|
|
|
|
<%= render "posts/partials/common/inline_blacklist" %>
|
|
|
|
<% @posts.each do |post| %>
|
|
<%= render "post", post: post %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<%= numbered_paginator(@posts) %>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "post_disapprovals/detailed_rejection_dialog" %>
|
|
<%= render "posts/partials/common/secondary_links" %>
|