annotate app/views/issue_statuses/index.html.erb @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents 261b3d9a4903
children
rev   line source
Chris@0 1 <div class="contextual">
Chris@909 2 <%= link_to l(:label_issue_status_new), new_issue_status_path, :class => 'icon icon-add' %>
Chris@1115 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? %>
Chris@0 4 </div>
Chris@0 5
Chris@0 6 <h2><%=l(:label_issue_status_plural)%></h2>
Chris@909 7
Chris@0 8 <table class="list">
Chris@0 9 <thead><tr>
Chris@0 10 <th><%=l(:field_status)%></th>
Chris@0 11 <% if Issue.use_status_for_done_ratio? %>
Chris@0 12 <th><%=l(:field_done_ratio)%></th>
Chris@0 13 <% end %>
Chris@0 14 <th><%=l(:field_is_default)%></th>
Chris@0 15 <th><%=l(:field_is_closed)%></th>
Chris@0 16 <th><%=l(:button_sort)%></th>
Chris@0 17 <th></th>
Chris@0 18 </tr></thead>
Chris@909 19 <tbody>
Chris@0 20 <% for status in @issue_statuses %>
Chris@0 21 <tr class="<%= cycle("odd", "even") %>">
Chris@1464 22 <td class="name"><%= link_to h(status.name), edit_issue_status_path(status) %></td>
Chris@0 23 <% if Issue.use_status_for_done_ratio? %>
Chris@1464 24 <td><%= h status.default_done_ratio %></td>
Chris@0 25 <% end %>
Chris@1464 26 <td><%= checked_image status.is_default? %></td>
Chris@1464 27 <td><%= checked_image status.is_closed? %></td>
Chris@1464 28 <td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td>
Chris@0 29 <td class="buttons">
Chris@1115 30 <%= delete_link issue_status_path(status) %>
Chris@0 31 </td>
Chris@0 32 </tr>
Chris@0 33 <% end %>
Chris@0 34 </tbody>
Chris@0 35 </table>
Chris@0 36
Chris@0 37 <p class="pagination"><%= pagination_links_full @issue_status_pages %></p>
Chris@0 38
Chris@0 39 <% html_title(l(:label_issue_status_plural)) -%>