more intelligent notice for mod queue

This commit is contained in:
r888888888
2016-09-09 15:08:23 -07:00
parent 3542ffe1f7
commit 2c80d7b82e
6 changed files with 19 additions and 10 deletions

View File

@@ -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 %>

View 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 %>