add hilighting to mod queue
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user