Made recommended changes to moderator reports (see #4267)

This commit is contained in:
BrokenEagle
2020-01-21 01:26:52 +00:00
parent 29e8b89c93
commit 5f746c1a34
13 changed files with 21 additions and 17 deletions

View File

@@ -6,7 +6,7 @@
<% if post.viewable_moderation_reports.present? %>
<div class="row moderation-comments-notice">
<span class="info" id="moderation-comments-notice-for-<%= post.id %>">
This post has comments reported for moderation! (<%= post.moderation_reports.length %> <%= (post.moderation_reports.length == 1 ? "report" : "reports") %>)
This post has comments reported for moderation! (<%= pluralize(post.viewable_moderation_reports.length, "report") %>)
</span>
</div>
<% end %>