diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-12-09 14:29:32 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-12-09 14:46:11 +0000 |
commit | 6a70b8292bf9a84ff1095a0ce85ec0b55b49da35 (patch) | |
tree | 72a963902b9f5c865d5cabe68fae6b2b50e56a2e /templates/web/base/admin/index.html | |
parent | afad42bf0227966dedfdbd7272e8cf7fc5e53cc0 (diff) |
Prettify admin/status page numbers.
Consolidate the two displays of these stats. Fixes #1297.
Diffstat (limited to 'templates/web/base/admin/index.html')
-rw-r--r-- | templates/web/base/admin/index.html | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/templates/web/base/admin/index.html b/templates/web/base/admin/index.html index dde6523a3..4c4a7b388 100644 --- a/templates/web/base/admin/index.html +++ b/templates/web/base/admin/index.html @@ -28,14 +28,7 @@ and to receive notices of updates. [%- END %] [% END -%] - <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 live updates'), comments.confirmed || 0 ) %]</li> - <li>[% tprintf( loc('%d confirmed alerts, %d unconfirmed'), alerts.1, alerts.0) %]</li> - <li>[% tprintf( loc('%d questionnaires sent – %d answered (%s%%)'), questionnaires.total, questionnaires.1, questionnaires_pc) %]</li> - <li>[% tprintf( loc('%d council contacts – %d confirmed, %d unconfirmed'), contacts.total, contacts.1, contacts.0) %]</li> - </ul> +[% INCLUDE 'status/stats.html' admin_include_users=1 %] [% IF c.cobrand.admin_show_creation_graph -%] <p> |