To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / issue_statuses / index.html.erb @ 1531:ae8145b28b2b
History | View | Annotate | Download (1.39 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', :data => {: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 class="name"><%= link_to h(status.name), edit_issue_status_path(status) %></td> |
| 23 |
<% if Issue.use_status_for_done_ratio? %>
|
| 24 |
<td><%= h status.default_done_ratio %></td> |
| 25 |
<% end %>
|
| 26 |
<td><%= checked_image status.is_default? %></td> |
| 27 |
<td><%= checked_image status.is_closed? %></td> |
| 28 |
<td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td> |
| 29 |
<td class="buttons"> |
| 30 |
<%= delete_link issue_status_path(status) %>
|
| 31 |
</td>
|
| 32 |
</tr>
|
| 33 |
<% end %>
|
| 34 |
</tbody>
|
| 35 |
</table>
|
| 36 |
|
| 37 |
<p class="pagination"><%= pagination_links_full @issue_status_pages %></p> |
| 38 |
|
| 39 |
<% html_title(l(:label_issue_status_plural)) -%>
|