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