From 84394c5de6cd15f1f10633540dafb1e03071a873 Mon Sep 17 00:00:00 2001 From: joshua stein Date: Thu, 24 Mar 2016 13:55:25 -0500 Subject: [PATCH] when comments are -1, just collapse them avoids piling on and engaging with trolls --- app/views/comments/_comment.html.erb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/views/comments/_comment.html.erb b/app/views/comments/_comment.html.erb index 4d728df..4f72575 100644 --- a/app/views/comments/_comment.html.erb +++ b/app/views/comments/_comment.html.erb @@ -1,14 +1,13 @@ + class="comment_folder_button" type="checkbox" + <%= comment.score <= -1 ? "checked" : "" %>>
<%= comment.highlighted ? "highlighted" : "" %> <%= comment.score <= 0 ? "negative" : "" %> - <%= comment.score <= -1 ? "negative_1" : "" %> - <%= comment.score <= -3 ? "negative_3" : "" %> - <%= comment.score <= -5 ? "negative_5" : "" %>"> + <%= comment.score <= -1 ? "negative_1" : "" %>"> <% if !comment.is_gone? %>
<% if @user %>