diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-02-15 10:59:43 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-02-15 11:06:41 +0000 |
commit | 2fc58dcb59018b27cf3980ba710fb6bb9d219606 (patch) | |
tree | d15542585384032eb6670135a4cd5c9c860f0ed3 | |
parent | b2130af3a88d2e2980a3e74fc1eac252afa1f443 (diff) |
[UK Councils] Include unresponsive template.
It is needed in e.g. South Kesteven; link to .com help page.
-rw-r--r-- | templates/web/fixmystreet-uk-councils/report/new/unresponsive_body.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/web/fixmystreet-uk-councils/report/new/unresponsive_body.html b/templates/web/fixmystreet-uk-councils/report/new/unresponsive_body.html new file mode 100644 index 000000000..80c8cc138 --- /dev/null +++ b/templates/web/fixmystreet-uk-councils/report/new/unresponsive_body.html @@ -0,0 +1,20 @@ +[% +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.$first.name %]</span> doesn’t currently accept + [% IF soon %] + FixMyStreet reports – though it will do so soon. + [% ELSE %] + [% IF category %] + <span class="refused-category">[% category | html %]</span> + [% END %] + 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 + [% IF bodies.size > 1 %] that [% ELSE %] the [% END %] council.</p> + <a href="https://www.fixmystreet.com/unresponsive?body=[% first %][% IF category %];category=[% category | uri %][% END %]" class="btn">[% soon ? 'Find out more' : 'What can I do instead?' %]</a> +</div> |