This commit is contained in:
albert
2011-09-11 17:03:36 -04:00
parent 3395c97c65
commit 281cb75991

View File

@@ -33,7 +33,7 @@
<div class="row notices">
<% if post.comments.count > 6 %>
<span class="info" id="hidden-comments-notice-for-<%= post.id %>"%>
<%= link_to "#{pluralize(post.comments.size, 'comment')} hidden", comments_path(:post_id => post.id), :remote => true %>
<%= link_to "#{pluralize(post.comments.count - 6, 'more comment')}", comments_path(:post_id => post.id), :remote => true %>
</span>
<% end %>
<% if post.comments.hidden(CurrentUser.user).count > 0 %>