Show comments with hidden authors
In the past, whenever we hid users, we also hid their comments. However, we've now implemented an action to hide users without hiding their comments. In this case, we still want to show the comment, but we weren't doing so.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<% cache [locale_and_user_status(comment), comment, commentable_cache_key(comment.commentable), comment.author] do %>
|
||||
<div id="<%= dom_id(comment) %>" class="comment small-12">
|
||||
<div class="comment-body">
|
||||
<% if comment.hidden? || comment.user.hidden? %>
|
||||
<% if comment.hidden? %>
|
||||
<% if comment.children.size > 0 %>
|
||||
<div class="callout secondary">
|
||||
<p><%= t("comments.comment.deleted") %></p>
|
||||
|
||||
Reference in New Issue
Block a user