Fix #3581: Mod Dashboard: exclude or mark deleted comments.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user