fixes #1295
This commit is contained in:
@@ -13,7 +13,11 @@
|
||||
|
||||
<div class="list-of-comments">
|
||||
<% if comments.empty? %>
|
||||
<p>There are no comments.</p>
|
||||
<% if post.last_commented_at.present? %>
|
||||
<p>There are no visible comments.</p>
|
||||
<% else %>
|
||||
<p>There are no comments.</p>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<%= render :partial => "comments/partials/show/comment", :collection => comments %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user