mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 11:38:49 +01:00
29 lines
No EOL
1.4 KiB
Text
Executable file
29 lines
No EOL
1.4 KiB
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', :min=> (@actions_max_ttc*10).round/10.0, :max => (@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>
|
|
|
|
<% %w{ actions_done_last30days_data
|
|
actions_done_last12months_data
|
|
actions_completion_time_data
|
|
}.each do |action|
|
|
%><%= render :partial => 'chart', :locals => {:width => @chart_width, :height => @chart_height, :data => url_for(:action => action)} -%><%
|
|
end
|
|
%>
|
|
|
|
<br style="clear:both">
|
|
|
|
<% %w{ actions_visible_running_time_data
|
|
actions_running_time_data
|
|
actions_day_of_week_all_data
|
|
actions_day_of_week_30days_data
|
|
actions_time_of_day_all_data
|
|
actions_time_of_day_30days_data
|
|
}.each do |action|
|
|
%><%= render :partial => 'chart', :locals => {:width => @chart_width, :height => @chart_height, :data => url_for(:action => action)} -%><%
|
|
end
|
|
%> |