This commit is contained in:
r888888888
2017-09-14 11:23:51 -07:00
parent a8d04c91d1
commit 3ffd871e8a

View File

@@ -1,4 +1,4 @@
<% if CurrentUser.is_moderator? || !comment.is_deleted? %>
<% if CurrentUser.is_moderator? || (params[:search] && params[:search][:is_deleted] =~ /t/) || !comment.is_deleted? %>
<a name="comment-<%= comment.id %>"></a>
<article class="comment" data-post-id="<%= comment.post_id %>" data-comment-id="<%= comment.id %>" data-score="<%= comment.score %>" data-creator="<%= comment.creator_name %>" data-is-sticky="<%= comment.is_sticky %>">
<div class="author">