mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-07 17:58:50 +01:00
19 lines
1,016 B
Text
Executable file
19 lines
1,016 B
Text
Executable file
<p><%= t('stats.actions_avg_completion_time', :count => (@actions_avg_ttc*10).round/10.0) %>
|
|
<%= t('stats.actions_min_max_completion_days', :max => (@actions_max_ttc*10).round/10.0, :min => (@actions_min_ttc*10).round/10.0) %>
|
|
<%= t('stats.actions_min_completion_time', :time => @actions_min_ttc_sec) %></p>
|
|
|
|
<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>
|
|
|
|
<% @completion_charts.each do |chart| %><%=
|
|
render :partial => 'chart', :locals => {:chart => chart}
|
|
-%><% end %>
|
|
|
|
<br style="clear:both">
|
|
|
|
<% @timing_charts.each do |chart| %><%=
|
|
render :partial => 'chart', :locals => {:chart => chart}
|
|
-%><% end %>
|
|
|