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