diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/zurich/admin/header.html | 8 | ||||
-rw-r--r-- | templates/web/zurich/admin/index-dm.html | 27 |
2 files changed, 31 insertions, 4 deletions
diff --git a/templates/web/zurich/admin/header.html b/templates/web/zurich/admin/header.html index 1bb78c476..30c3496a9 100644 --- a/templates/web/zurich/admin/header.html +++ b/templates/web/zurich/admin/header.html @@ -8,12 +8,12 @@ select { width: auto; } </style> <p><strong>[% loc('FixMyStreet admin:') %]</strong> - <a href="summary">[% loc('Summary') %]</a> | - <a href="bodies">[% loc('Bodies') %]</a> | - <a href="reports">[% loc('Reports') %]</a> | + <a href="/admin/summary">[% loc('Summary') %]</a> | + <a href="/admin/bodies">[% loc('Bodies') %]</a> | + <a href="/admin/reports">[% loc('Reports') %]</a> | <!-- <a href="timeline">Timeline</a> | --> <!-- <a href="questionnaire">Survey</a> | --> - <a href="users">[% loc('Users') %]</a> + <a href="/admin/users">[% loc('Users') %]</a> <!-- <a href="flagged">Flagged</a> | --> <!-- <a href="stats">Stats</a> --> diff --git a/templates/web/zurich/admin/index-dm.html b/templates/web/zurich/admin/index-dm.html new file mode 100644 index 000000000..8eea65019 --- /dev/null +++ b/templates/web/zurich/admin/index-dm.html @@ -0,0 +1,27 @@ +[% INCLUDE 'admin/header.html' title=loc('Summary') -%] +[% PROCESS 'admin/report_blocks.html' %] + +<h2>New reports</h2> + +<table cellspacing="0" cellpadding="2" border="1"> + <tr> + <th>[% loc('ID') %]</th> + <th>[% loc('Title') %]</th> + <th>[% loc('Category') %]</th> + <th>[% loc('Created') %]</th> + <th>*</th> + </tr> +[%- FOR problem IN unconfirmed.all %] + <tr[% ' class="hidden"' IF problem.state == 'hidden' %]> + <td>[% problem.id %]</td> + <td>[% PROCESS value_or_nbsp value=problem.title %]</td> + <td>[% problem.category %]</td> + <td>[% PROCESS format_time time=problem.created %]</td> + <td><a href="[% c.uri_for( 'report_edit', problem.id ) %]">[% loc('Edit') %]</a></td> + </tr> +[%- END -%] +</table> +[%# WHILE ( problem = unconfirmed.next ) %] +[%# END %] + +[% INCLUDE 'admin/footer.html' %] |