2006-07-29 23:54:22 +04:00
|
|
|
<h2><%=l(:label_issue_status_plural)%></h2>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<table class="listTableContent">
|
2006-06-28 22:11:03 +04:00
|
|
|
<tr class="ListHead">
|
2006-07-29 23:54:22 +04:00
|
|
|
<th><%=l(:field_status)%></th>
|
|
|
|
<th><%=l(:field_is_default)%></th>
|
|
|
|
<th><%=l(:field_is_closed)%></th>
|
|
|
|
<th><%=l(:field_html_color)%></th>
|
2006-06-28 22:11:03 +04:00
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% for status in @issue_statuses %>
|
2006-07-09 20:30:01 +04:00
|
|
|
<tr class="<%= cycle("odd", "even") %>">
|
2006-06-28 22:11:03 +04:00
|
|
|
<td><%= link_to status.name, :action => 'edit', :id => status %></td>
|
2006-07-09 20:30:01 +04:00
|
|
|
<td align="center"><%= image_tag 'true' if status.is_default? %></td>
|
|
|
|
<td align="center"><%= image_tag 'true' if status.is_closed? %></td>
|
2006-09-02 17:33:23 +04:00
|
|
|
<td><div style="background-color:#<%= status.html_color %>"> </div></td>
|
|
|
|
<td align="center">
|
|
|
|
<%= 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 %>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<%= pagination_links_full @issue_status_pages %>
|
|
|
|
<br />
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<%= link_to '» ' + l(:label_issue_status_new), :action => 'new' %>
|