@@ -1,42 +1,42 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to l(:label_issue_status_new), {:action => 'new'}, :class => 'icon icon-add' %> |
|
3 | 3 | <%= link_to(l(:label_update_issue_done_ratios), {:action => 'update_issue_done_ratio'}, :class => 'icon icon-multiple', :method => 'post', :confirm => l(:text_are_you_sure)) if Issue.use_status_for_done_ratio? %> |
|
4 | 4 | </div> |
|
5 | 5 | |
|
6 | 6 | <h2><%=l(:label_issue_status_plural)%></h2> |
|
7 | ||
|
7 | ||
|
8 | 8 | <table class="list"> |
|
9 | 9 | <thead><tr> |
|
10 | 10 | <th><%=l(:field_status)%></th> |
|
11 | 11 | <% if Issue.use_status_for_done_ratio? %> |
|
12 | 12 | <th><%=l(:field_done_ratio)%></th> |
|
13 | 13 | <% end %> |
|
14 | 14 | <th><%=l(:field_is_default)%></th> |
|
15 | 15 | <th><%=l(:field_is_closed)%></th> |
|
16 | 16 | <th><%=l(:button_sort)%></th> |
|
17 | 17 | <th></th> |
|
18 | 18 | </tr></thead> |
|
19 |
<tbody> |
|
|
19 | <tbody> | |
|
20 | 20 | <% for status in @issue_statuses %> |
|
21 | 21 | <tr class="<%= cycle("odd", "even") %>"> |
|
22 | 22 | <td><%= link_to h(status.name), :action => 'edit', :id => status %></td> |
|
23 | 23 | <% if Issue.use_status_for_done_ratio? %> |
|
24 | 24 | <td align="center"><%= h status.default_done_ratio %></td> |
|
25 | 25 | <% end %> |
|
26 | 26 | <td align="center"><%= checked_image status.is_default? %></td> |
|
27 | 27 | <td align="center"><%= checked_image status.is_closed? %></td> |
|
28 | 28 | <td align="center" style="width:15%;"><%= reorder_links('issue_status', {:action => 'update', :id => status}) %></td> |
|
29 | 29 | <td class="buttons"> |
|
30 | 30 | <%= link_to(l(:button_delete), { :action => 'destroy', :id => status }, |
|
31 | 31 | :method => :post, |
|
32 | 32 | :confirm => l(:text_are_you_sure), |
|
33 | 33 | :class => 'icon icon-del') %> |
|
34 | 34 | </td> |
|
35 | 35 | </tr> |
|
36 | 36 | <% end %> |
|
37 | 37 | </tbody> |
|
38 | 38 | </table> |
|
39 | 39 | |
|
40 | 40 | <p class="pagination"><%= pagination_links_full @issue_status_pages %></p> |
|
41 | 41 | |
|
42 | 42 | <% html_title(l(:label_issue_status_plural)) -%> |
General Comments 0
You need to be logged in to leave comments.
Login now