##// END OF EJS Templates
Fixed source indentation (#8106)....
Jean-Philippe Lang -
r10550:b5f8290f4ce0
parent child
Show More
@@ -1,33 +1,33
1 1 <%= form_tag({}, :id => "status_by_form") do -%>
2 2 <fieldset>
3 3 <legend>
4 4 <%= l(:label_issues_by,
5 5 select_tag('status_by',
6 6 status_by_options_for_select(criteria),
7 7 :id => 'status_by_select',
8 8 :data => {:remote => true, :method => 'post', :url => status_by_version_path(version)})).html_safe %>
9 9 </legend>
10 10 <% if counts.empty? %>
11 11 <p><em><%= l(:label_no_data) %></em></p>
12 12 <% else %>
13 13 <table>
14 14 <% counts.each do |count| %>
15 15 <tr>
16 16 <td width="130px" align="right" >
17 <% if count[:group] -%>
17 <% if count[:group] -%>
18 18 <%= link_to(h(count[:group]), project_issues_path(version.project, :set_filter => 1, :status_id => '*', :fixed_version_id => version, "#{criteria}_id" => count[:group])) %>
19 <% else -%>
19 <% else -%>
20 20 <%= link_to(l(:label_none), project_issues_path(version.project, :set_filter => 1, :status_id => '*', :fixed_version_id => version, "#{criteria}_id" => "!*")) %>
21 <% end %>
21 <% end %>
22 22 </td>
23 23 <td width="240px">
24 24 <%= progress_bar((count[:closed].to_f / count[:total])*100,
25 25 :legend => "#{count[:closed]}/#{count[:total]}",
26 26 :width => "#{(count[:total].to_f / max * 200).floor}px;") %>
27 27 </td>
28 28 </tr>
29 29 <% end %>
30 30 </table>
31 31 <% end %>
32 32 </fieldset>
33 33 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now