more intelligent notice for mod queue
This commit is contained in:
@@ -89,6 +89,10 @@
|
||||
<%= render "users/dmail_notice" %>
|
||||
<% end %>
|
||||
|
||||
<% if CurrentUser.user.can_approve_posts? %>
|
||||
<%= render "moderator/post/queues/notice" %>
|
||||
<% end %>
|
||||
|
||||
<% if cookies["accepted_tos"].blank? && !CurrentUser.is_gold? %>
|
||||
<%= render "users/tos" %>
|
||||
<% end %>
|
||||
|
||||
5
app/views/moderator/post/queues/_notice.html.erb
Normal file
5
app/views/moderator/post/queues/_notice.html.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<% if show_moderation_notice? %>
|
||||
<div class="ui-corner-all ui-state-highlight" id="mod-notice">
|
||||
<span>You haven't moderated any posts in awhile. Consider checking out the <%= link_to "queue", random_moderator_post_queue_path(:return_to => request.original_url) %>.</span>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user