% if activity.comments_count > 2 %>
<% if activity.params['url'].blank? %>
<%= _("%s comments") % activity.comments_count %>
<% else %>
<%= link_to(_("View all %s comments") % activity.comments_count, activity.params['url']) %>
<% end %>
<% else %>
<%= render :partial => 'comment', :collection => activity.comments %>
<% end %>