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

Reports, Statistics and Actions for

%s

'), body_name) %]
[% ELSE %]

[% loc('Summary statistics') %]

[% END %]
[% IF body %] [% IF NOT c.user.area_ids.size %]

[% END %]

[% ELSE %]

[% END %]

[% BLOCK gb %] [% IF group_by == new_gb %] [% text %] [% ELSE %] [% text %] [% END %] [% END %] [% IF group_by == 'category+state' %] [% ELSE %] [% FOR k2 IN columns.sort %] [% END %] [% FOR k IN rows %] [% IF group_by == 'state' %] [% ELSE %] [% END %] [% IF group_by == 'category+state' %] [% ELSE %] [% FOR k2 IN columns.sort %] [% END %] [% END %] [% END %] [% IF group_by == 'category+state' %] [% ELSE %] [% FOR k2 IN columns.sort %] [% END %] [% END %]
[% loc('Open') %] [% loc('Closed') %] [% loc('Fixed') %] [% loc('Total') %][% k2 or loc('Website') %] [% END %] [% loc('Total') %]
[% prettify_state(k) %][% k %][% grouped.$k.open OR 0 %] [% grouped.$k.closed OR 0 %] [% grouped.$k.fixed OR 0 %] [% grouped.$k.total OR 0 %][% grouped.$k.$k2 OR 0 %][% grouped.$k.total OR 0 %]
[% loc('Total') %][% totals.open OR 0 %] [% totals.closed OR 0 %] [% totals.fixed OR 0 %][% totals.$k2 OR 0 %][% totals.total OR 0 %]

[% loc('Within the specified timeframe:') %] [% summary_open = summary_open | format_number; summary_closed = summary_closed | format_number; summary_fixed = summary_fixed | format_number; tprintf( loc('%s opened, %s closed, %s fixed'), decode(summary_open), decode(summary_closed), decode(summary_fixed) ) %]

[% INCLUDE 'footer.html' %]