comparison .svn/pristine/a4/a43f7091da21bbe393f7564458e580e780857e6d.svn-base @ 1296:038ba2d95de8 redmine-2.2

Fix redmine-2.2 branch update (add missing svn files)
author Chris Cannam
date Fri, 14 Jun 2013 09:05:06 +0100
parents
children
comparison
equal deleted inserted replaced
1294:3e4c3460b6ca 1296:038ba2d95de8
1 <%= form_tag({}, :id => "status_by_form") do -%>
2 <fieldset>
3 <legend>
4 <%= l(:label_issues_by,
5 select_tag('status_by',
6 status_by_options_for_select(criteria),
7 :id => 'status_by_select',
8 :data => {:remote => true, :method => 'post', :url => status_by_version_path(version)})).html_safe %>
9 </legend>
10 <% if counts.empty? %>
11 <p><em><%= l(:label_no_data) %></em></p>
12 <% else %>
13 <table>
14 <% counts.each do |count| %>
15 <tr>
16 <td width="130px" align="right" >
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])) %>
19 <% else -%>
20 <%= link_to(l(:label_none), project_issues_path(version.project, :set_filter => 1, :status_id => '*', :fixed_version_id => version, "#{criteria}_id" => "!*")) %>
21 <% end %>
22 </td>
23 <td width="240px">
24 <%= progress_bar((count[:closed].to_f / count[:total])*100,
25 :legend => "#{count[:closed]}/#{count[:total]}",
26 :width => "#{(count[:total].to_f / max * 200).floor}px;") %>
27 </td>
28 </tr>
29 <% end %>
30 </table>
31 <% end %>
32 </fieldset>
33 <% end %>