aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/admin/report_edit.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/admin/report_edit.html')
-rw-r--r--templates/web/base/admin/report_edit.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/web/base/admin/report_edit.html b/templates/web/base/admin/report_edit.html
index a63952ec6..d488dcadc 100644
--- a/templates/web/base/admin/report_edit.html
+++ b/templates/web/base/admin/report_edit.html
@@ -31,7 +31,16 @@ class="admin-offsite-link">[% problem.latitude %], [% problem.longitude %]</a>
%],
[% IF problem.used_map %][% loc('used map') %][% ELSE %][% loc("didn't use map") %][% END %])</li>
-<li>[% loc('For council(s):') %] [% IF problem.bodies_str %][% problem.bodies_str %][% ELSE %]<em>[% loc('None' ) %]</em>[% END %] ([% loc('other areas:') %] [% problem.areas | remove('^,') | remove( ',$' ) %])</li>
+<li>[% loc('Body:') %]
+ [% IF problem.bodies_str %]
+ [% FOREACH body IN problem.bodies.values %]
+ <a href="[% c.uri_for('body', body.id) %]">[% body.name | html %]</a>
+ [%- ',' IF NOT loop.last %]
+ [% END %]
+ [% ELSE %]
+ <em>[% loc('None' ) %]</em>
+ [% END %]
+ ([% loc('other areas:') %] [% problem.areas | remove('^,') | remove( ',$' ) %])</li>
[% IF problem.extra.address %]
<li>[% loc('Property address:') %] [% problem.extra.address | html %]</li>
[% END %]