Fix #3581: Mod Dashboard: exclude or mark deleted comments.

This commit is contained in:
evazion
2018-03-31 13:14:41 -05:00
parent 04ecca6a06
commit f15f2cbb81

View File

@@ -11,7 +11,12 @@
<tbody>
<% @dashboard.comments.each do |activity| %>
<tr>
<td><%= link_to activity.comment.body, post_path(activity.comment.post_id) %></td>
<td>
<%= link_to activity.comment.body, post_path(activity.comment.post_id) %>
<% if activity.comment.is_deleted? %>
<span class="inactive">(deleted)</span>
<% end %>
</td>
<td><%= mod_link_to_user(activity.comment.creator, :negative) %></td>
<td><%= activity.count %></td>
<td><%= activity.comment.score %></td>