2010-10-31 21:27:13 +08:00
|
|
|
<p><%= t('stats.actions_avg_completion_time', :count => (@actions_avg_ttc*10).round/10.0) %>
|
2013-02-28 20:43:11 -05:00
|
|
|
<%= t('stats.actions_min_max_completion_days', :max => (@actions_max_ttc*10).round/10.0, :min => (@actions_min_ttc*10).round/10.0) %>
|
2010-10-31 21:27:13 +08:00
|
|
|
<%= t('stats.actions_min_completion_time', :time => @actions_min_ttc_sec) %></p>
|
2007-09-13 03:21:37 +00:00
|
|
|
|
2010-10-31 21:27:13 +08:00
|
|
|
<p><%= t('stats.actions_actions_avg_created_30days', :count => (@sum_actions_created_last30days*10.0/30.0).round/10.0 )%>
|
|
|
|
|
<%= t('stats.actions_avg_completed_30days', :count => (@sum_actions_done_last30days*10.0/30.0).round/10.0 )%>
|
|
|
|
|
<%= t('stats.actions_avg_created', :count => (@sum_actions_created_last12months*10.0/12.0).round/10.0 )%>
|
|
|
|
|
<%= t('stats.actions_avg_completed', :count => (@sum_actions_done_last12months*10.0/12.0).round/10.0 )%></p>
|
2007-09-13 03:21:37 +00:00
|
|
|
|
2013-03-01 20:38:24 -05:00
|
|
|
<% @completion_charts.each do |chart| %><%=
|
|
|
|
|
render :partial => 'chart', :locals => {:chart => chart}
|
|
|
|
|
-%><% end %>
|
2007-09-13 03:21:37 +00:00
|
|
|
|
2007-09-14 05:44:01 +00:00
|
|
|
<br style="clear:both">
|
2007-09-13 03:21:37 +00:00
|
|
|
|
2013-03-01 20:38:24 -05:00
|
|
|
<% @timing_charts.each do |chart| %><%=
|
|
|
|
|
render :partial => 'chart', :locals => {:chart => chart}
|
|
|
|
|
-%><% end %>
|
|
|
|
|
|