list.rhtml
27 lines
| 990 B
| 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> | |||
|
r12 | <th><%=l(:field_status)%></th> | |
<th><%=l(:field_is_default)%></th> | |||
<th><%=l(:field_is_closed)%></th> | |||
|
r2 | <th></th> | |
|
r105 | </tr></thead> | |
<tbody> | |||
|
r2 | <% for status in @issue_statuses %> | |
|
r5 | <tr class="<%= cycle("odd", "even") %>"> | |
|
r105 | <td><div class="square" style="background:#<%= status.html_color %>;"></div> <%= link_to status.name, :action => 'edit', :id => status %></td> | |
|
r154 | <td align="center"><%= image_tag 'true.png' if status.is_default? %></td> | |
<td align="center"><%= image_tag 'true.png' if status.is_closed? %></td> | |||
|
r19 | <td align="center"> | |
<%= 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> | |
|
r90 | <%= pagination_links_full @issue_status_pages %> |