* Renamed moderator/post/dashboard to moderator/post/queue
* Fixed bug with more overlay links being out of place if news listing is closed
This commit is contained in:
@@ -36,9 +36,9 @@
|
||||
|
||||
<div id="page">
|
||||
<%- if flash[:notice] -%>
|
||||
<div class="ui-corner-all ui-state-highlight" id="notice"><span class="ui-icon ui-icon-info"></span> <%= flash[:notice] %></div>
|
||||
<div class="ui-corner-all ui-state-highlight" id="notice"><%= flash[:notice] %></div>
|
||||
<%- else -%>
|
||||
<div class="ui-corner-all ui-state-highlight" id="notice" style="display: none;"><span class="ui-icon ui-icon-info"></span></div>
|
||||
<div class="ui-corner-all ui-state-highlight" id="notice" style="display: none;"></div>
|
||||
<%- end -%>
|
||||
|
||||
<%= yield :layout %>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div id="c-moderator-post-dashboards">
|
||||
<div id="c-moderator-post-queues">
|
||||
<div id="a-show">
|
||||
<div id="search">
|
||||
<%= form_tag(moderator_post_dashboard_path, :method => :get) do %>
|
||||
<%= form_tag(moderator_post_queue_path, :method => :get) do %>
|
||||
<%= text_field_tag "query", params[:query], :size => 40 %>
|
||||
<%= submit_tag "Search" %>
|
||||
<% end %>
|
||||
@@ -9,6 +9,20 @@
|
||||
|
||||
<div>
|
||||
<h1>Moderation Queue</h1>
|
||||
|
||||
<div id="moderation-guideline">
|
||||
<h1>Deletion Guidelines</h1>
|
||||
<p>
|
||||
As a general rule, you should 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.
|
||||
<% if params[:hidden] %>
|
||||
<%= link_to "View all posts", moderator_post_queue_path(:query => params[:query], :hidden => nil) %>.
|
||||
<% else %>
|
||||
<%= link_to "View hidden posts", moderator_post_queue_path(:query => params[:query], :hidden => true) %>.
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
<p><%= button_tag "Approve all", :id => "approve-all-button" %><%= button_tag "Hide all", :id => "hide-all-button" %></p>
|
||||
</div>
|
||||
|
||||
<% @posts.each do |post| %>
|
||||
<article id="post-<%= post.id %>">
|
||||
@@ -41,5 +55,5 @@
|
||||
<%= render "posts/partials/common/secondary_links" %>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
Mod Dashboard - <%= Danbooru.config.app_name %>
|
||||
Mod Queue - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
@@ -1,8 +1,10 @@
|
||||
<div id="news-ticker" data-updated-at="2011-09-01">
|
||||
<ul>
|
||||
<li>10/22: Database has been reset</li>
|
||||
<li>Report issues on <a href="https://github.com/r888888888/danbooru/issues/new">Github</a> or the <a href="http://danbooru.donmai.us/forum/show/65870">forum</a></li>
|
||||
</ul>
|
||||
<% unless cookies["news-ticker"] == "2011-09-01" %>
|
||||
<div id="news-ticker" data-updated-at="2011-09-01">
|
||||
<ul>
|
||||
<li>10/22: Database has been reset</li>
|
||||
<li>Report issues on <a href="https://github.com/r888888888/danbooru/issues/new">Github</a> or the <a href="http://danbooru.donmai.us/forum/show/65870">forum</a></li>
|
||||
</ul>
|
||||
|
||||
<a href="#" id="close-news-ticker-link">close</a>
|
||||
</div>
|
||||
<a href="#" id="close-news-ticker-link">close</a>
|
||||
</div>
|
||||
<% end %>
|
||||
@@ -10,7 +10,7 @@
|
||||
<% end %>
|
||||
<li><%= link_to "Changes", post_versions_path %></li>
|
||||
<% if CurrentUser.is_janitor? %>
|
||||
<li><%= link_to "Moderate", moderator_post_dashboard_path %></li>
|
||||
<li><%= link_to "Moderate", moderator_post_queue_path %></li>
|
||||
<% end %>
|
||||
<li><%= link_to "Help", wiki_pages_path(:title => "help:posts") %></li>
|
||||
</menu>
|
||||
|
||||
Reference in New Issue
Block a user