From 26429aa50b9a915de3a9b3042420e1525f55b164 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 30 Jul 2015 16:41:00 +0100 Subject: =?UTF-8?q?List=20a=20report=E2=80=99s=20bodies=20more=20nicely=20?= =?UTF-8?q?in=20admin.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/web/base/admin/report_edit.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 %] %], [% IF problem.used_map %][% loc('used map') %][% ELSE %][% loc("didn't use map") %][% END %]) -
  • [% loc('For council(s):') %] [% IF problem.bodies_str %][% problem.bodies_str %][% ELSE %][% loc('None' ) %][% END %] ([% loc('other areas:') %] [% problem.areas | remove('^,') | remove( ',$' ) %])
  • +
  • [% loc('Body:') %] + [% IF problem.bodies_str %] + [% FOREACH body IN problem.bodies.values %] + [% body.name | html %] + [%- ',' IF NOT loop.last %] + [% END %] + [% ELSE %] + [% loc('None' ) %] + [% END %] + ([% loc('other areas:') %] [% problem.areas | remove('^,') | remove( ',$' ) %])
  • [% IF problem.extra.address %]
  • [% loc('Property address:') %] [% problem.extra.address | html %]
  • [% END %] -- cgit v1.2.3