<% flagged = comment.current_vote && comment.current_vote[:vote] == -1 %> Comment::COLLAPSE_SCORE && !flagged) ? "" : "checked" %>>
<%= comment.score < Comment::SCORE_RANGE_TO_HIDE.first ? "bad" : "" %>"> <% if defined?(show_tree_lines) && show_tree_lines %> <% end %> <% if !comment.is_gone? %> <% can_flag = @user && @user.can_flag?(comment) %> <% score_display = comment.score_for_user(@user) %>
<% if @user %> <% else %> <%= link_to "", login_path, :class => "upvoter" %> <% end %>
<%= score_display %>
<%= score_display != " " ? "score_shown" : "" %> <%= defined?(children) && children ? "" : "no_children" %>">
<% end %>
<% if comment.is_gone? %>

[<%= comment.gone_text %><% if @user && @user.is_moderator? %> Visible to moderator:<% end %>]

<% if @user && @user.is_moderator? %> <%= raw comment.markeddown_comment %> <% end %> <% else %> <%= raw comment.markeddown_comment %> <% end %>