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' %>
|
2006-12-16 15:15:31 +03:00
|
|
|
</div>
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<h2><%=l(:label_issue_status_plural)%></h2>
|
2006-06-28 22:11:03 +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>
|
|
|
|
<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>
|
|
|
|
<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-03-12 20:59:02 +03:00
|
|
|
<td><div class="square" style="background:#<%= status.html_color %>;"></div> <%= link_to status.name, :action => 'edit', :id => status %></td>
|
|
|
|
<td align="center"><%= image_tag 'true.png' if status.is_default? %></td>
|
|
|
|
<td align="center"><%= image_tag 'true.png' if status.is_closed? %></td>
|
2007-01-31 22:53:24 +03:00
|
|
|
<td align="center">
|
|
|
|
<%= link_to image_tag('2uparrow.png', :alt => l(:label_sort_highest)), {:action => 'move', :id => status, :position => 'highest'}, :method => :post, :title => l(:label_sort_highest) %>
|
|
|
|
<%= link_to image_tag('1uparrow.png', :alt => l(:label_sort_higher)), {:action => 'move', :id => status, :position => 'higher'}, :method => :post, :title => l(:label_sort_higher) %> -
|
|
|
|
<%= link_to image_tag('1downarrow.png', :alt => l(:label_sort_lower)), {:action => 'move', :id => status, :position => 'lower'}, :method => :post, :title => l(:label_sort_lower) %>
|
|
|
|
<%= link_to image_tag('2downarrow.png', :alt => l(:label_sort_lowest)), {:action => 'move', :id => status, :position => 'lowest'}, :method => :post, :title => l(:label_sort_lowest) %>
|
|
|
|
</td>
|
2006-09-02 17:33:23 +04:00
|
|
|
<td align="center">
|
2007-03-12 20:59:02 +03:00
|
|
|
<%= button_to l(:button_delete), { :action => 'destroy', :id => status }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
|
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
|
|
|
|
2006-12-16 15:15:31 +03:00
|
|
|
<%= pagination_links_full @issue_status_pages %>
|