From 999b3e467f1ef09f6cc71fede1fa02febdbe315f Mon Sep 17 00:00:00 2001 From: Pius Kevin Mafabi <40008827+PiusKevin3@users.noreply.github.com> Date: Wed, 6 Apr 2022 20:23:16 +0300 Subject: [PATCH] Update on "Make Insights Table More Descriptive in Spam 2 #10959" issue The "Make Insights Table More Descriptive in Spam 2 #10959" has been updated accordingly as was required. --- app/views/spam2/_insights.html.erb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/views/spam2/_insights.html.erb b/app/views/spam2/_insights.html.erb index 71de6ff146..a3f1592fbc 100644 --- a/app/views/spam2/_insights.html.erb +++ b/app/views/spam2/_insights.html.erb @@ -1,28 +1,28 @@
- Unmoderated + Unmoderated
    -
  • <%= Node.where(status: 4).size%>
  • -
  • <%= Comment.where(status: 4).size %>
  • +
  • <%= Node.where(status: 4).size%> nodes
  • +
  • <%= Comment.where(status: 4).size %> comments
- Spammed + Spammed
    -
  • <%= Node.where(status: 0).size%>
  • -
  • <%= Comment.where(status: 0).size %>
  • +
  • <%= Node.where(status: 0).size%> nodes
  • +
  • <%= Comment.where(status: 0).size %> comments
- Flagged + Flagged
    -
  • <%= Node.where('flag > ?', 0).size%>
  • -
  • <%= Comment.where('flag > ?', 0).size %>
  • +
  • <%= Node.where('flag > ?', 0).size%> nodes
  • +
  • <%= Comment.where('flag > ?', 0).size %> comments
@@ -30,8 +30,8 @@
Published