aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/admin/index-sdm.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/zurich/admin/index-sdm.html')
-rw-r--r--templates/web/zurich/admin/index-sdm.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/web/zurich/admin/index-sdm.html b/templates/web/zurich/admin/index-sdm.html
new file mode 100644
index 000000000..c4659d56c
--- /dev/null
+++ b/templates/web/zurich/admin/index-sdm.html
@@ -0,0 +1,34 @@
+[% INCLUDE 'admin/header.html' title=loc('Summary') -%]
+[% PROCESS 'admin/report_blocks.html' %]
+
+<h2>New reports</h2>
+[% INCLUDE list, problems = reports_new.all %]
+
+<h2>Reports awaiting approval</h2>
+[% INCLUDE list, problems = reports_unpublished.all %]
+
+<h2>Reports published</h2>
+[% INCLUDE list, problems = reports_published.all %]
+
+[% INCLUDE 'admin/footer.html' %]
+
+[% BLOCK list %]
+<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 problems %]
+ <tr[% ' class="adminhidden"' 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>
+[% END %]