From 4f16cdf1459cdd18e8d00e7b3bfd2690658bdeff Mon Sep 17 00:00:00 2001 From: Toks Date: Sat, 13 Apr 2013 15:19:04 -0400 Subject: [PATCH] fixes #1295 --- app/views/comments/partials/index/_list.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/comments/partials/index/_list.html.erb b/app/views/comments/partials/index/_list.html.erb index 933784e82..dbe729038 100644 --- a/app/views/comments/partials/index/_list.html.erb +++ b/app/views/comments/partials/index/_list.html.erb @@ -13,7 +13,11 @@
<% if comments.empty? %> -

There are no comments.

+ <% if post.last_commented_at.present? %> +

There are no visible comments.

+ <% else %> +

There are no comments.

+ <% end %> <% else %> <%= render :partial => "comments/partials/show/comment", :collection => comments %> <% end %>