To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / 86 / 86d46b11f53bf924d634fb6a310d55c059a3a986.svn-base @ 1297:0a574315af3e
History | View | Annotate | Download (1.63 KB)
| 1 |
<div class="contextual"> |
|---|---|
| 2 |
<%= link_to l(:label_issue_status_new), new_issue_status_path, :class => 'icon icon-add' %> |
| 3 |
<%= link_to(l(:label_update_issue_done_ratios), update_issue_done_ratio_issue_statuses_path, :class => 'icon icon-multiple', :method => 'post', :confirm => l(:text_are_you_sure)) if Issue.use_status_for_done_ratio? %> |
| 4 |
</div> |
| 5 |
|
| 6 |
<h2><%=l(:label_issue_status_plural)%></h2> |
| 7 |
|
| 8 |
<table class="list"> |
| 9 |
<thead><tr> |
| 10 |
<th><%=l(:field_status)%></th> |
| 11 |
<% if Issue.use_status_for_done_ratio? %> |
| 12 |
<th><%=l(:field_done_ratio)%></th> |
| 13 |
<% end %> |
| 14 |
<th><%=l(:field_is_default)%></th> |
| 15 |
<th><%=l(:field_is_closed)%></th> |
| 16 |
<th><%=l(:button_sort)%></th> |
| 17 |
<th></th> |
| 18 |
</tr></thead> |
| 19 |
<tbody> |
| 20 |
<% for status in @issue_statuses %> |
| 21 |
<tr class="<%= cycle("odd", "even") %>">
|
| 22 |
<td><%= link_to h(status.name), edit_issue_status_path(status) %></td> |
| 23 |
<% if Issue.use_status_for_done_ratio? %> |
| 24 |
<td align="center"><%= h status.default_done_ratio %></td> |
| 25 |
<% end %> |
| 26 |
<td align="center"><%= checked_image status.is_default? %></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}, :put) %></td>
|
| 29 |
<td class="buttons"> |
| 30 |
<%= link_to(l(:button_delete), issue_status_path(status), |
| 31 |
:method => :delete, |
| 32 |
:confirm => l(:text_are_you_sure), |
| 33 |
:class => 'icon icon-del') %> |
| 34 |
</td> |
| 35 |
</tr> |
| 36 |
<% end %> |
| 37 |
</tbody> |
| 38 |
</table> |
| 39 |
|
| 40 |
<p class="pagination"><%= pagination_links_full @issue_status_pages %></p> |
| 41 |
|
| 42 |
<% html_title(l(:label_issue_status_plural)) -%> |