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