aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/admin/index.html
blob: 277d2ea767cc4ad32f6c2674fbfcc8bd3f8bcf58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[% INCLUDE 'admin/header.html' title=loc('Summary') %]

[% BLOCK states %]
<h2>[% title %]</h2>

[% FOREACH state IN object.keys.sort %]
[% '<ul>' IF loop.first %]
    <li>[% object.$state %] [% state %]</li>
[% '</ul>' IF loop.last %]
[% END %]
[% END %]

<ul>
    <li>[% tprintf( loc('<strong>%d</strong> live problems'), total_problems_live ) %]</li>
    <li>[% tprintf( loc('%d live updates'), comments.confirmed ) %]</li>
    <li>[% tprintf( loc('%d confirmed alerts, %d unconfirmed'), alerts.1, alerts.0) %]</li>
    <li>[% tprintf( loc('%d questionnaires sent &ndash; %d answered (%s%%)'), questionnaires.total, questionnaires.1, questionnaires_pc) %]</li>
    <li>[% tprintf( loc('%d council contacts &ndash; %d confirmed, %d unconfirmed'), contacts.total, contacts.1, contacts.0) %]</li>
</ul>

[% IF c.cobrand.admin_show_creation_graph %]
    <p>
        <a href="">[% loc('Graph of problem creation by status over time') %]</a>
    </p>
[% END %]

[% PROCESS states title=loc('Problem breakdown by state') object=problems %]</h2>

[% PROCESS states title=loc('Update breakdown by state') object=comments %]</h2>

[% INCLUDE 'admin/footer.html' %]