aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2013-09-09 16:22:21 +0100
committerEdmund von der Burg <evdb@mysociety.org>2013-09-10 15:57:41 +0100
commit8117c74228253d49207c86a0113eff4e0cdec64a (patch)
treefb0a72003cc3a9f59e503846d0f3aacfbaf71e47
parent2aba77457a6f6f408b74540285356ceaa2a58679 (diff)
[Zurich] Display user name (if set) and email of user who created note/update
-rw-r--r--templates/web/zurich/admin/list_updates.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/web/zurich/admin/list_updates.html b/templates/web/zurich/admin/list_updates.html
index 4e37ef943..80029462b 100644
--- a/templates/web/zurich/admin/list_updates.html
+++ b/templates/web/zurich/admin/list_updates.html
@@ -5,12 +5,14 @@
<tr>
<th>[% loc('ID') %]</th>
<th>[% loc('Created') %]</th>
+ <th>[% loc('User') %]</th>
<th>[% loc('Text') %]</th>
</tr>
[% FOREACH update IN updates -%]
<tr class="[% 'adminhidden' IF update.state == 'hidden' || update.problem.state == 'hidden' %] [% 'admininternal' IF update.extra.is_internal_note %]">
- <td>[%- update.id %]</td>
+ <td>[% update.id %]</td>
<td>[% PROCESS format_date this_date=update.created %] [% update.created.hms %]</td>
+ <td><a href="mailto:[% update.user.email %]">[% update.user.name || update.user.email %]</a></td>
<td>[% update.text | html %]</td>
</tr>
[% END -%]