aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-30 17:27:14 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-30 17:27:14 +0100
commit719d078717a204b33f8253c9da6c567a8d8d22b6 (patch)
tree24f1975d5f1f7986caab728abab9507fe13748fc
parent0e6bb3e802c0614d64366bd19732b37a574dc12c (diff)
indicate if update is from problem owner or council user
-rw-r--r--templates/web/default/admin/list_updates.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/web/default/admin/list_updates.html b/templates/web/default/admin/list_updates.html
index 92f41f348..c02a0229c 100644
--- a/templates/web/default/admin/list_updates.html
+++ b/templates/web/default/admin/list_updates.html
@@ -8,6 +8,8 @@
<th>[% loc('Email') %]</th>
<th>[% loc('Created') %]</th>
<th>[% loc('Anonymous') %]</th>
+ <th>[% loc('Owner') %]</th>
+ <th>[% loc('Council') %]</th>
<th>[% loc('Cobrand') %]</th>
<th>[% loc('Text') %]</th>
<th>*</th>
@@ -26,6 +28,8 @@
<td>[% update.user.email | html %]</td>
<td>[% PROCESS format_time time=update.created %]</td>
<td>[% IF update.anonymous %][% loc('Yes') %][% ELSE %][% loc('No') %][% END %]</td>
+ <td>[% IF update.user.id == update.problem.user_id %][% loc('Yes') %][% ELSE %][% loc('No') %][% END %]</td>
+ <td>[% IF update.user.from_council == update.problem.council %][% loc('Yes') %][% ELSE %][% loc('No') %][% END %]</td>
<td>[% update.cobrand %]<br>[% update.cobrand_data | html %]</td>
<td>[% update.text | html %]</td>
<td><a href="[% c.uri_for( 'update_edit', update.id ) %]">[% loc('Edit') %]</a></td>