From db4c67ee86864207eb8d2aa263f7296855eda689 Mon Sep 17 00:00:00 2001 From: evazion Date: Wed, 5 Feb 2020 16:59:54 -0600 Subject: [PATCH] Fix #4286: Mod dashboard: limit width of left column. --- .../dashboards/_activity_comment.html.erb | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/app/views/moderator/dashboards/_activity_comment.html.erb b/app/views/moderator/dashboards/_activity_comment.html.erb index e608dea49..55e03031d 100644 --- a/app/views/moderator/dashboards/_activity_comment.html.erb +++ b/app/views/moderator/dashboards/_activity_comment.html.erb @@ -2,7 +2,8 @@ Comment Activity - Comment + ID + Body User Votes Score @@ -11,11 +12,14 @@ <% @dashboard.comments.each do |activity| %> + <%= link_to activity.comment.dtext_shortlink, activity.comment %> - <%= link_to activity.comment.body, post_path(activity.comment.post_id) %> - <% if activity.comment.is_deleted? %> - (deleted) - <% end %> +
+ <%= format_text(activity.comment.body) %> + <% if activity.comment.is_deleted? %> + (deleted) + <% end %> +
<%= mod_link_to_user(activity.comment.creator, :negative) %> <%= activity.count %>