%-
total_count ||= -1
total_count_string = total_count!=-1 ? " / #{total_count}" : ""
-%>
>
<%= project_state_group.length%><%= total_count_string%>
<%= t('common.last' ) unless (state == 'review' || state == 'stalled' || state == 'blocked')%>
<%= t('states.'+state+'_plural' )%>
<%= t('common.projects') %><%= total_count==-1 ? "" : " ("+link_to("Show all", done_projects_path)+")"%>
<%= render :partial => 'projects/project_listing', :collection => project_state_group %>