2006-12-16 15:15:31 +03:00
|
|
|
<div class="contextual">
|
2007-01-08 22:21:59 +03:00
|
|
|
<%= link_to l(:label_issue_status_new), {:action => 'new'}, :class => 'icon icon-add' %>
|
2009-12-11 21:48:34 +03:00
|
|
|
<%= link_to(l(:label_update_issue_done_ratios), {:action => 'update_issue_done_ratio'}, :class => 'icon icon-multiple', :method => 'post', :confirm => l(:text_are_you_sure)) if Issue.use_status_for_done_ratio? %>
|
2006-12-16 15:15:31 +03:00
|
|
|
</div>
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<h2><%=l(:label_issue_status_plural)%></h2>
|
2011-05-30 22:52:25 +04:00
|
|
|
|
2006-12-24 19:35:25 +03:00
|
|
|
<table class="list">
|
|
|
|
<thead><tr>
|
2007-03-12 20:59:02 +03:00
|
|
|
<th><%=l(:field_status)%></th>
|
2009-12-11 21:48:34 +03:00
|
|
|
<% if Issue.use_status_for_done_ratio? %>
|
|
|
|
<th><%=l(:field_done_ratio)%></th>
|
|
|
|
<% end %>
|
2007-03-12 20:59:02 +03:00
|
|
|
<th><%=l(:field_is_default)%></th>
|
|
|
|
<th><%=l(:field_is_closed)%></th>
|
2007-01-31 22:53:24 +03:00
|
|
|
<th><%=l(:button_sort)%></th>
|
2006-06-28 22:11:03 +04:00
|
|
|
<th></th>
|
2006-12-24 19:35:25 +03:00
|
|
|
</tr></thead>
|
2011-05-30 22:52:25 +04:00
|
|
|
<tbody>
|
2006-06-28 22:11:03 +04:00
|
|
|
<% for status in @issue_statuses %>
|
2006-07-09 20:30:01 +04:00
|
|
|
<tr class="<%= cycle("odd", "even") %>">
|
2007-09-22 17:17:49 +04:00
|
|
|
<td><%= link_to status.name, :action => 'edit', :id => status %></td>
|
2009-12-11 21:48:34 +03:00
|
|
|
<% if Issue.use_status_for_done_ratio? %>
|
|
|
|
<td align="center"><%= h status.default_done_ratio %></td>
|
|
|
|
<% end %>
|
2010-03-17 23:46:22 +03:00
|
|
|
<td align="center"><%= checked_image status.is_default? %></td>
|
|
|
|
<td align="center"><%= checked_image status.is_closed? %></td>
|
2009-03-01 15:03:48 +03:00
|
|
|
<td align="center" style="width:15%;"><%= reorder_links('issue_status', {:action => 'update', :id => status}) %></td>
|
2009-09-12 13:25:39 +04:00
|
|
|
<td class="buttons">
|
|
|
|
<%= link_to(l(:button_delete), { :action => 'destroy', :id => status },
|
|
|
|
:method => :post,
|
|
|
|
:confirm => l(:text_are_you_sure),
|
|
|
|
:class => 'icon icon-del') %>
|
2006-06-28 22:11:03 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
2006-12-24 19:35:25 +03:00
|
|
|
</tbody>
|
2006-06-28 22:11:03 +04:00
|
|
|
</table>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-12-29 14:36:30 +03:00
|
|
|
<p class="pagination"><%= pagination_links_full @issue_status_pages %></p>
|
2007-12-07 21:42:40 +03:00
|
|
|
|
2008-01-03 01:41:53 +03:00
|
|
|
<% html_title(l(:label_issue_status_plural)) -%>
|