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