<%= link_to l(:label_issue_status_new), new_issue_status_path, :class => 'icon icon-add' %> <%= link_to(l(:label_update_issue_done_ratios), update_issue_done_ratio_issue_statuses_path, :class => 'icon icon-multiple', :method => 'post', :data => {:confirm => l(:text_are_you_sure)}) if Issue.use_status_for_done_ratio? %>

<%=l(:label_issue_status_plural)%>

<% if Issue.use_status_for_done_ratio? %> <% end %> <% for status in @issue_statuses %> <% if Issue.use_status_for_done_ratio? %> <% end %> <% end %>
<%=l(:field_status)%><%=l(:field_done_ratio)%><%=l(:field_is_closed)%>
<%= link_to status.name, edit_issue_status_path(status) %><%= status.default_done_ratio %><%= checked_image status.is_closed? %> <% unless WorkflowTransition.where('old_status_id = ? OR new_status_id = ?', status.id, status.id).exists? %> <%= l(:text_status_no_workflow) %> (<%= link_to l(:button_edit), workflows_edit_path(:used_statuses_only => 0) %>) <% end %> <%= reorder_handle(status) %> <%= delete_link issue_status_path(status) %>
<% html_title(l(:label_issue_status_plural)) -%> <%= javascript_tag do %> $(function() { $("table.issue_statuses tbody").positionedItems(); }); <% end %>