[% INCLUDE 'admin/header.html' title=loc('Summary') -%]
[% PROCESS 'admin/report_blocks.html' %]
[% IF total_bodies == 0 %]
[% loc('Currently no bodies have been created.') %]
[% tprintf( loc('You need to add some bodies (such as councils or departments) before any reports can be sent.'), c.uri_for('bodies')) %]
[% END %]
[%- BLOCK states -%]
[%- FOREACH state IN list %]
[%- '' IF loop.first %]
- [% object.$state %] [% state_pretty.$state %]
[%- "\n
" IF loop.last %]
[%- END %]
[% END -%]
[% INCLUDE 'status/stats.html' admin_include_users=1 %]
[% IF c.cobrand.admin_show_creation_graph -%]
[% loc('Graph of problem creation by status over time') %]
[% END -%]
[% loc('Problem breakdown by state') %]
[% FOREACH group IN state_groups %]
[%- '' IF loop.first %]
- [% group.0 %]
[% PROCESS states object=problems list=group.1 %]
[%- "\n
" IF loop.last %]
[%- END %]
[% loc('Update breakdown by state') %]
[% PROCESS states object=comments list=comments.keys.sort %]
[% IF categories.size %]
[% loc('Category fix rate for problems > 4 weeks old') %]
[% loc('Category') %] | [% loc('Total') %] | [% loc('Fixed') %] |
[% FOREACH category IN categories %]
[% category.key %] | [% category.value.total %] | [% category.value.fixed / category.value.total * 100 | format('%.1f') %]% |
[% END %]
[% ELSE %]
[% loc('Category fix rate for problems > 4 weeks old') %]
[% END %]
[% INCLUDE 'admin/footer.html' %]