From f15f2cbb81466716bb6142141fbf0ff1d32d4f89 Mon Sep 17 00:00:00 2001 From: evazion Date: Sat, 31 Mar 2018 13:14:41 -0500 Subject: [PATCH] Fix #3581: Mod Dashboard: exclude or mark deleted comments. --- app/views/moderator/dashboards/_activity_comment.html.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/moderator/dashboards/_activity_comment.html.erb b/app/views/moderator/dashboards/_activity_comment.html.erb index 211df9496..e608dea49 100644 --- a/app/views/moderator/dashboards/_activity_comment.html.erb +++ b/app/views/moderator/dashboards/_activity_comment.html.erb @@ -11,7 +11,12 @@ <% @dashboard.comments.each do |activity| %> - <%= link_to activity.comment.body, post_path(activity.comment.post_id) %> + + <%= link_to activity.comment.body, post_path(activity.comment.post_id) %> + <% if activity.comment.is_deleted? %> + (deleted) + <% end %> + <%= mod_link_to_user(activity.comment.creator, :negative) %> <%= activity.count %> <%= activity.comment.score %>