Fix #4286: Mod dashboard: limit width of left column.

This commit is contained in:
evazion
2020-02-05 16:59:54 -06:00
parent 9322c596e2
commit db4c67ee86

View File

@@ -2,7 +2,8 @@
<caption>Comment Activity</caption> <caption>Comment Activity</caption>
<thead> <thead>
<tr> <tr>
<th>Comment</th> <th>ID</th>
<th>Body</th>
<th>User</th> <th>User</th>
<th>Votes</th> <th>Votes</th>
<th>Score</th> <th>Score</th>
@@ -11,11 +12,14 @@
<tbody> <tbody>
<% @dashboard.comments.each do |activity| %> <% @dashboard.comments.each do |activity| %>
<tr> <tr>
<td><%= link_to activity.comment.dtext_shortlink, activity.comment %></td>
<td> <td>
<%= link_to activity.comment.body, post_path(activity.comment.post_id) %> <div class="prose">
<% if activity.comment.is_deleted? %> <%= format_text(activity.comment.body) %>
<span class="inactive">(deleted)</span> <% if activity.comment.is_deleted? %>
<% end %> <span class="inactive">(deleted)</span>
<% end %>
</div>
</td> </td>
<td><%= mod_link_to_user(activity.comment.creator, :negative) %></td> <td><%= mod_link_to_user(activity.comment.creator, :negative) %></td>
<td><%= activity.count %></td> <td><%= activity.count %></td>