Skip to content

Commit

Permalink
Add people tab to /spam page for moderators(Fixes publiclab#2079) (pu…
Browse files Browse the repository at this point in the history
…bliclab#2109)

* Fixes #publiclab#2079

Fixes publiclab#2079
This commit adds active user tab to publiclab.org/spam.

* Add people tab to /spam page for moderators(Fixes publiclab#2079)
  • Loading branch information
biswesh456 authored and jywarren committed Jan 26, 2018
1 parent 92f6fdd commit 1cb390b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/admin/spam.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="col-md-3">

<h3>Spam moderation:</h3>
<h3>Spam moderation:</h3>

<p>Moderators and admins have the ability to "spam" posts if they include inappropriate content, blatant advertising, or are otherwise problematic. If you're not sure, email <a href="mailto:organizers@<%= request.host %>">organizers@<%= request.host %></a>. If we all work together, we can keep spam to a minimum; thanks for helping out!</p>

Expand All @@ -16,6 +16,7 @@
<li <% unless params[:type] && params[:action] == "spam_revisions" %>class="active"<% end %>><a href="/spam">Filtered</a></li>
<li <% if params[:type] == "wiki" %>class="active"<% end %>><a href="/spam/wiki"><i class="fa fa-book"></i><span class="hidden-sm"> Wiki</span></a></li>
<li <% if params[:action] == "spam_revisions" %>class="active"<% end %>><a href="/spam/revisions"><i class="fa fa-list"></i><span class="hidden-sm"> Revisions</span></a></li>
<li <a href="/people"><i class="fa fa-user"></i><span class="hidden-sm"> Active Users</span></a></li>
</ul>

<br />
Expand Down

0 comments on commit 1cb390b

Please sign in to comment.