To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / issue_statuses / index.html.erb @ 441:cbce1fd3b1b7

History | View | Annotate | Download (1.58 KB)

1
<div class="contextual">
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? %>
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 status.name, :action => 'edit', :id => 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}) %></td>
29
  <td class="buttons">
30
    <%= link_to(l(:button_delete), { :action => 'destroy', :id => status },
31
                                                                                                                             :method => :post,
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)) -%>