2006-06-28 22:11:03 +04:00
|
|
|
<h2><%=_('Issue statuses')%></h2>
|
|
|
|
|
|
|
|
<table border="0" cellspacing="1" cellpadding="2" class="listTableContent">
|
|
|
|
<tr class="ListHead">
|
|
|
|
<th><%=_('Status')%></th>
|
|
|
|
<th><%=_('Default status')%></th>
|
|
|
|
<th><%=_('Issue closed')%></th>
|
|
|
|
<th><%=_('Color')%></th>
|
|
|
|
<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-06-28 22:11:03 +04:00
|
|
|
<td bgcolor="#<%= status.html_color %>"> </td>
|
|
|
|
<td align="center">
|
|
|
|
<%= start_form_tag :action => 'destroy', :id => status %>
|
|
|
|
<%= submit_tag _('Delete'), :class => "button-small" %>
|
|
|
|
<%= end_form_tag %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<%= pagination_links_full @issue_status_pages %>
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<%= link_to '» ' + _('New issue status'), :action => 'new' %>
|