list.rhtml
37 lines
| 1.8 KiB
| text/html+ruby
|
RhtmlLexer
|
r90 | <div class="contextual"> | ||
|
r154 | <%= link_to l(:label_issue_status_new), {:action => 'new'}, :class => 'icon icon-add' %> | ||
|
r90 | </div> | ||
|
r12 | <h2><%=l(:label_issue_status_plural)%></h2> | ||
|
r2 | |||
|
r105 | <table class="list"> | ||
<thead><tr> | ||||
|
r330 | <th><%=l(:field_status)%></th> | ||
<th><%=l(:field_is_default)%></th> | ||||
<th><%=l(:field_is_closed)%></th> | ||||
|
r202 | <th><%=l(:button_sort)%></th> | ||
|
r2 | <th></th> | ||
|
r105 | </tr></thead> | ||
<tbody> | ||||
|
r2 | <% for status in @issue_statuses %> | ||
|
r5 | <tr class="<%= cycle("odd", "even") %>"> | ||
|
r736 | <td><%= link_to status.name, :action => 'edit', :id => status %></td> | ||
|
r330 | <td align="center"><%= image_tag 'true.png' if status.is_default? %></td> | ||
<td align="center"><%= image_tag 'true.png' if status.is_closed? %></td> | ||||
|
r400 | <td align="center" style="width:15%;"> | ||
|
r202 | <%= 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> | ||||
|
r400 | <td align="center" style="width:10%;"> | ||
|
r330 | <%= button_to l(:button_delete), { :action => 'destroy', :id => status }, :confirm => l(:text_are_you_sure), :class => "button-small" %> | ||
|
r2 | </td> | ||
</tr> | ||||
<% end %> | ||||
|
r105 | </tbody> | ||
|
r2 | </table> | ||
|
r330 | |||
|
r951 | <%= pagination_links_full @issue_status_pages %> | ||
<% set_html_title(l(:label_issue_status_plural)) -%> | ||||