aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/admin/problem_row.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-12-20 09:57:30 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-12-20 09:57:30 +0000
commit913509a89289aa34148e2fe7a711db106a557d8b (patch)
tree2743d8b861ccdbae3fb33b449812514ddb4c2c98 /templates/web/default/admin/problem_row.html
parent0177ac9e5ed3752f8dc1f466777fe9aac10026d5 (diff)
Minor admin text tweaks.
Diffstat (limited to 'templates/web/default/admin/problem_row.html')
-rw-r--r--templates/web/default/admin/problem_row.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/web/default/admin/problem_row.html b/templates/web/default/admin/problem_row.html
index f985fdf7f..6c0bce85f 100644
--- a/templates/web/default/admin/problem_row.html
+++ b/templates/web/default/admin/problem_row.html
@@ -11,7 +11,9 @@
<td>[% PROCESS value_or_nbsp value=problem.name %]</td>
<td>[% PROCESS value_or_nbsp value=problem.user.email %]</td>
<td>[%- IF edit_body_contacts -%]
- <a href="[% c.uri_for('body', problem.bodies_str ) %]">[% PROCESS value_or_nbsp value=problem.bodies_str %]</a>
+ [% FOR body IN problem.bodies.values %]
+ <a href="[% c.uri_for('body', body.id ) %]">[% PROCESS value_or_nbsp value=body.name %]</a>
+ [% END %]
[%- ELSE -%]
[%- PROCESS value_or_nbsp value=problem.bodies_str -%]
[%- END -%]</td>