[% extra_css = BLOCK %] [% END %] [% INCLUDE 'header.html' title = loc('Dashboard') robots = 'noindex, nofollow' bodyclass = 'fullwidthpage' %]
[% tprintf(loc('

Reports, Statistics and Actions for

%s

'), council.name) %]


[% rows = { '0' => [ "total", loc("Total reports received") ] '1' => [ "fixed - council", loc("Council has marked as fixed") ] '2' => [ "fixed_user", loc("User has marked as fixed") ] }; FOR row IN rows %] [% END %] [% rows = { '0' => [ "in progress", loc("Council has marked as in progress") ] '1' => [ "action scheduled", loc("Council has marked as planned") ] '2' => [ "investigating", loc("Council has marked as investigating") ] '3' => [ "closed", loc("Council has marked as closed") ] }; wtd = 0, week = 0, weeks = 0, ytd = 0; FOR row IN rows %] [% END %]
  [% loc('WTD', "Week to date") %] [% loc('Last 7 days') %] [% loc('Last 4 weeks') %] [% loc('YTD', "Year to date") %]
[% row.value.1 %] [% problems.wtd.${row.value.0} %] [% problems.week.${row.value.0} %] [% problems.weeks.${row.value.0} %] [% problems.ytd.${row.value.0} %]
[% loc('Total marked as fixed') %] [% problems.wtd.${"fixed - council"} + problems.wtd.fixed_user %] [% problems.week.${"fixed - council"} + problems.week.fixed_user %] [% problems.weeks.${"fixed - council"} + problems.weeks.fixed_user %] [% problems.ytd.${"fixed - council"} + problems.ytd.fixed_user %]
[% row.value.1 %] [% problems.wtd.${row.value.0} %] [% problems.week.${row.value.0} %] [% problems.weeks.${row.value.0} %] [% problems.ytd.${row.value.0} %]
[% loc('Total marked') %] [% problems.wtd.${"in progress"} + problems.wtd.${"action scheduled"} + problems.wtd.investigating + problems.wtd.closed %] [% problems.week.${"in progress"} + problems.week.${"action scheduled"} + problems.week.investigating + problems.wtd.closed %] [% problems.weeks.${"in progress"} + problems.weeks.${"action scheduled"} + problems.weeks.investigating + problems.wtd.closed %] [% problems.ytd.${"in progress"} + problems.ytd.${"action scheduled"} + problems.ytd.investigating + problems.wtd.closed %]
[% loc('Average time to council marking fixed (days)') %] [% problems.wtd.time_to_fix %] [% problems.week.time_to_fix %] [% problems.weeks.time_to_fix %] [% problems.ytd.time_to_fix %]
[% loc('Average time to first council state change (days)') %] [% problems.wtd.time_to_mark %] [% problems.week.time_to_mark %] [% problems.weeks.time_to_mark %] [% problems.ytd.time_to_mark %]
[% loc('Total not marked') %] [% problems.wtd.not_marked %] [% problems.week.not_marked %] [% problems.weeks.not_marked %] [% problems.ytd.not_marked %]

[% loc('Reports') %]

[% loc('Report state:') %] [% loc('Export as CSV') %]
[% loc('Less than 7 days old') %] [% loc('7-14 days old') %] [% loc('14-30 days old') %]
    [% INCLUDE list, list = lists.1 %]
    [% INCLUDE list, list = lists.2 %]
    [% INCLUDE list, list = lists.3 %]

[% INCLUDE 'footer.html' %] [% BLOCK list %] [% FOR p IN list %]
  • [% p.title | html %] [% p.confirmed.dmy('/') %]
  • [% END %] [% END %]