aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/fixmystreet.com/report/new/unresponsive_body.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/web/fixmystreet.com/report/new/unresponsive_body.html b/templates/web/fixmystreet.com/report/new/unresponsive_body.html
index 0a34475bc..54a9fb195 100644
--- a/templates/web/fixmystreet.com/report/new/unresponsive_body.html
+++ b/templates/web/fixmystreet.com/report/new/unresponsive_body.html
@@ -1,8 +1,10 @@
-[% SET soon = bodies.$body_id.name == 'Northamptonshire County Council' %]
+[%
+SET first = body_id.keys.first; # Might be more than one, but showing one will do
+SET soon = bodies.$first.name == 'Northamptonshire County Council' %]
<div class="box-warning">
<h1>Important message</h1>
<p>
- <span class="unresponsive-council">[% bodies.$body_id.name %]</span> doesn’t currently accept
+ <span class="unresponsive-council">[% bodies.$first.name %]</span> doesn’t currently accept
[% IF soon %]
FixMyStreet reports – though it will do so soon.
[% ELSE %]
@@ -12,6 +14,7 @@
reports from third party reporting sites such as FixMyStreet.
[% END %]
</p>
- <p>We can make your report public, but [% 'at the moment' IF soon %] we can’t send it to the council.</p>
- <a href="[% c.cobrand.base_url %]/unresponsive?body=[% body_id %][% IF category %];category=[% category | uri %][% END %]" class="btn">[% soon ? 'Find out more' : 'What can I do instead?' %]</a>
+ <p>We can make your report public, but [% 'at the moment' IF soon %] we can’t send it to
+ [% IF bodies.size > 1 %] that [% ELSE %] the [% END %] council.</p>
+ <a href="[% c.cobrand.base_url %]/unresponsive?body=[% first %][% IF category %];category=[% category | uri %][% END %]" class="btn">[% soon ? 'Find out more' : 'What can I do instead?' %]</a>
</div>