add hilighting to mod queue

This commit is contained in:
albert
2013-02-22 15:47:36 -05:00
parent 85a832cb5d
commit 26b5f3091c
5 changed files with 41 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
<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.
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. Posts with the duplicate tag are marked in yellow.
<% if params[:hidden] %>
<%= link_to "View pending posts", moderator_post_queue_path(:query => params[:query], :hidden => nil) %>.
<% else %>
@@ -25,7 +25,7 @@
</div>
<% @posts.each do |post| %>
<article id="post-<%= post.id %>">
<article class="post" id="post-<%= post.id %>" data-score="<%= post.score %>" data-has-children="<%= post.has_children? %>" data-has-dup="<%= post.has_dup_tag? %>">
<aside>
<%= link_to(image_tag(post.preview_file_url), post_path(post)) %>
</aside>