diff options
author | Struan Donald <struan@exo.org.uk> | 2012-05-16 13:33:09 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-05-16 13:33:09 +0100 |
commit | 0b407b081762ffcb4ab3be666c7b12f67f9d4a4f (patch) | |
tree | 2fe19cf59a7f20e0de60920c5c45c867b1463f2d /templates/web/default/dashboard/index.html | |
parent | 3f2753b72d70a4b5144b3b380c821ba16b224939 (diff) |
add closed state to page
Diffstat (limited to 'templates/web/default/dashboard/index.html')
-rw-r--r-- | templates/web/default/dashboard/index.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/web/default/dashboard/index.html b/templates/web/default/dashboard/index.html index 1673c9566..be38234f2 100644 --- a/templates/web/default/dashboard/index.html +++ b/templates/web/default/dashboard/index.html @@ -68,6 +68,7 @@ '0' => [ "in progress", "Council has marked as in progress" ] '1' => [ "planned", "Council has marked as planned" ] '2' => [ "investigating", "Council has marked as investigating" ] + '3' => [ "closed", "Council has marked as closed" ] }; wtd = 0, week = 0, weeks = 0, ytd = 0; FOR row IN rows %] @@ -82,10 +83,10 @@ <tr class='subtotal' id="marked"> <th scope="row">Total marked</th> - <td>[% problems.wtd.${"in progress"} + problems.wtd.planned + problems.wtd.investigating %]</td> - <td>[% problems.week.${"in progress"} + problems.week.planned + problems.week.investigating %]</td> - <td>[% problems.weeks.${"in progress"} + problems.weeks.planned + problems.weeks.investigating %]</td> - <td>[% problems.ytd.${"in progress"} + problems.ytd.planned + problems.ytd.investigating %]</td> + <td>[% problems.wtd.${"in progress"} + problems.wtd.planned + problems.wtd.investigating + problems.wtd.closed %]</td> + <td>[% problems.week.${"in progress"} + problems.week.planned + problems.week.investigating + problems.wtd.closed %]</td> + <td>[% problems.weeks.${"in progress"} + problems.weeks.planned + problems.weeks.investigating + problems.wtd.closed %]</td> + <td>[% problems.ytd.${"in progress"} + problems.ytd.planned + problems.ytd.investigating + problems.wtd.closed %]</td> </tr> <tr id="avg_fixed"> |