aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich/admin/problem_row.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/zurich/admin/problem_row.html')
-rw-r--r--templates/web/zurich/admin/problem_row.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/web/zurich/admin/problem_row.html b/templates/web/zurich/admin/problem_row.html
new file mode 100644
index 000000000..fc667c0d7
--- /dev/null
+++ b/templates/web/zurich/admin/problem_row.html
@@ -0,0 +1,25 @@
+[%
+ states = {
+ 'unconfirmed' = loc('Submitted'),
+ 'confirmed' = loc('Open'),
+ 'in progress' = loc('In progress'),
+ 'planned' = loc('Planned'),
+ 'fixed - council' = loc('Closed'),
+ 'hidden' = loc('Hidden'),
+ 'closed' = loc('Closed'),
+ }
+%]
+[%- FOR problem IN problems %]
+ <tr[% ' class="adminhidden"' IF problem.state == 'hidden' %]>
+ <td>[%- IF problem.is_visible -%]
+ <a href="[% c.uri_for_email( '/report', problem.id ) %]">[% problem.id %]</a>
+ [%- ELSE %]
+ [%- problem.id %]
+ [%- END -%]</td>
+ <td>[% PROCESS value_or_nbsp value=problem.title %]</td>
+ <td>[% states.${problem.state} %]</td>
+ <td>[% PROCESS value_or_nbsp value=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 -%]