diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-06-22 16:36:37 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-06-22 16:37:39 +0100 |
commit | d20e84acc2beadad9a3f8fbfc55b5a3c8b06c9ba (patch) | |
tree | 5f09dfd65f92f0dbcfc4e09df97a41672b815511 /templates/web/base/admin/index.html | |
parent | 0c69e124a57891aa84aaf7c25773738db2a108c2 (diff) |
Show any waiting reports on admin index page.
Diffstat (limited to 'templates/web/base/admin/index.html')
-rw-r--r-- | templates/web/base/admin/index.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/web/base/admin/index.html b/templates/web/base/admin/index.html index 66d986aaf..3c510471e 100644 --- a/templates/web/base/admin/index.html +++ b/templates/web/base/admin/index.html @@ -44,6 +44,22 @@ and to receive notices of updates. <input type="submit" value="[% loc('Go') %]"> </form> +[% IF unsent_reports.size %] +<h2>[% loc('Reports waiting to be sent') %]</h2> + +<table cellspacing="0" cellpadding="2" border="1"> + <tr> + <th>[% loc('ID') %]</th> + <th>[% loc('Title') %]</th> + <th>[% loc('Name') %]</th> + <th>[% loc('Body') %]</th> + <th>[% loc('State') %]</th> + <th>*</th> + </tr> + [% INCLUDE 'admin/problem_row.html' problems = unsent_reports %] +</table> +[% END %] + <h2>[% loc('Stats') %]</h2> [% INCLUDE 'status/stats.html' admin_include_users=1 %] |