<% title "Moderate" %> <% if current_user&.trusted %> <% if @tag %> <% end %> <% cache("mod-data-header-#{params[:tag]}", expires_in: 6.hours) do %>

<%= "#" + @tag.name.titleize if @tag %> Moderators

We build the <%= ApplicationConfig["COMMUNITY_NAME"] %> Community

<%= number_with_delimiter(@tag ? Article.cached_tagged_with(@tag).published.where("published_at > ?", 7.days.ago).size : Article.published.where("published_at > ?", 7.days.ago).size) %>
Posts This Week
<% plucked_article_ids = Article.cached_tagged_with(@tag).pluck(:id) if @tag %>
<%= number_with_delimiter(@tag ? Comment.where(commentable_id: plucked_article_ids ).where("created_at > ?", 7.days.ago).size : Comment.where("created_at > ?", 7.days.ago).size) %>
Comments This Week
<%= number_with_delimiter(@tag ? Reaction.where(reactable_id: plucked_article_ids ).where("created_at > ?", 7.days.ago).size : Reaction.where("created_at > ?", 7.days.ago).size) %>
Reactions This Week
Data as of <%= Time.current %>
<% end %>
">Base Feed ">New Authors Only
<% if current_user.moderator_for_tags.any? %> " class="mod-index-header-link mod-index-header-link--<%= "active" if params[:tag].blank? %>">Site Wide <% current_user.moderator_for_tags.each do |tag| %> " class="mod-index-header-link mod-index-header-link--<%= "active" if params[:tag] == tag %>">#<%= tag %> <% end %> <% end %>
<% @articles.each_with_index do |article, i| %>
<%= article.title %>
<%= article.cached_user.name %> ・ <%= article.readable_publish_date %> <% if article.nth_published_by_author > 0 && article.nth_published_by_author < 4 %> ・ 👋 <%= article.nth_published_by_author.ordinalize %> post by this user <% end %>
<% end %>
<% else %>

DEV Mods

We periodically award some DEV members with heightened privileges to help moderate the community.

Email <%= SiteConfig.default_site_email %> if you'd like to be considered right away.

<% if !user_signed_in? %>

P.S. You are not currently signed in.

<% end %>
<% end %>