Add a sidebar to the modqueue page that shows the following information: * Number of pending and flagged posts. * Number of posts disapproved for poor quality or breaking rules. * Top uploaders in the queue. * Top artist, copyright, and character tags in the queue.
24 lines
600 B
Plaintext
24 lines
600 B
Plaintext
<% content_for(:layout) do %>
|
|
<div id="c-<%= params[:controller].parameterize.dasherize %>">
|
|
<div id="a-<%= params[:action].parameterize.dasherize %>">
|
|
<% if content_for(:top_content).present? %>
|
|
<section id="top-content">
|
|
<%= yield :top_content %>
|
|
</section>
|
|
<% end %>
|
|
|
|
<div class="sidebar-container">
|
|
<aside id="sidebar">
|
|
<%= yield :sidebar %>
|
|
</aside>
|
|
|
|
<section id="content">
|
|
<%= yield :content %>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= render template: "layouts/default" %>
|