aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/admin/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/zurich/admin/index.html')
-rw-r--r--templates/web/zurich/admin/index.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/web/zurich/admin/index.html b/templates/web/zurich/admin/index.html
new file mode 100644
index 000000000..a51c7f6fe
--- /dev/null
+++ b/templates/web/zurich/admin/index.html
@@ -0,0 +1,17 @@
+[% PROCESS 'admin/header.html' title=loc('Summary') -%]
+
+<ul>
+ <li>[% tprintf( loc('<strong>%d</strong> live problems'), total_problems_live ) %];
+ [% tprintf( loc('from %d different users'), total_problems_users ) %]</li>
+ <li>[% tprintf( loc('%d council contacts &ndash; %d confirmed, %d unconfirmed'), contacts.total, contacts.1, contacts.0) %]</li>
+</ul>
+
+<h2>[% loc('Problem breakdown by state') %]</h2>
+<ul>
+ [% FOREACH state IN problems.keys.sort %]
+ [% NEXT IF NOT states.$state %]
+ <li>[% problems.$state %] [% states.$state %]</li>
+ [% END %]
+</ul>
+
+[% INCLUDE 'admin/footer.html' %]