mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-06 01:08:50 +01:00
pardon my english :-) From #662. Thanks pmwilson
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@736 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
9f3d210963
commit
0ac3c6649d
5 changed files with 6 additions and 6 deletions
|
|
@ -293,7 +293,7 @@ class StatsController < ApplicationController
|
|||
end
|
||||
|
||||
def context_running_actions_data
|
||||
# get uncompleted action count per visible context
|
||||
# get incompleted action count per visible context
|
||||
#
|
||||
# Went from GROUP BY c.id to c.name for compatibility with postgresql. Since
|
||||
# the name is forced to be unique, this should work.
|
||||
|
|
@ -632,7 +632,7 @@ class StatsController < ApplicationController
|
|||
"LIMIT 5"
|
||||
)
|
||||
|
||||
# get uncompleted action count per visible context for TOP 5
|
||||
# get incompleted action count per visible context for TOP 5
|
||||
#
|
||||
# Went from GROUP BY c.id to c.id, c.name for compatibility with postgresql.
|
||||
# Since the name is forced to be unique, this should work.
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
</div>
|
||||
|
||||
<div class="stats_module">
|
||||
<h3>Top 5 Visible Contexts with uncomplete actions</h3>
|
||||
<h3>Top 5 Visible Contexts with incomplete actions</h3>
|
||||
<%
|
||||
1.upto 5 do |i|
|
||||
%><%=i-%> -
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Of those <%= @contexts.count(:conditions => ["hide = ?", false])%> are visible c
|
|||
<%= @contexts.count(:conditions => ["hide = ?", true]) %> are hidden contexts
|
||||
|
||||
<% unless @actions.empty? -%>
|
||||
<p>You have <%= @actions.count(:conditions => "completed_at IS NULL") %> uncompleted actions of which
|
||||
<p>You have <%= @actions.count(:conditions => "completed_at IS NULL") %> incompleted actions of which
|
||||
<%= @actions.count(:conditions => "completed_at IS NULL AND NOT show_from IS NULL") %> are
|
||||
deferred actions. </p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
&title=Current running time of all uncompleted actions,{font-size:16},&
|
||||
&title=Current running time of all incompleted actions,{font-size:16},&
|
||||
&y_legend=Actions,10,0x736AFF&
|
||||
&y2_legend=Percentage,10,0xFF0000&
|
||||
&x_legend=Running time of an action (weeks). Click on a bar for more info,11,0x736AFF&
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
&title=Current running time of uncompleted visible actions,{font-size:16},&
|
||||
&title=Current running time of incompleted visible actions,{font-size:16},&
|
||||
&y_legend=Actions,10,0x736AFF&
|
||||
&y2_legend=Percentage,10,0xFF0000&
|
||||
&x_legend=Running time of an action (weeks). Click on a bar for more info,11,0x736AFF&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue