diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-01-29 15:00:47 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-01-29 15:00:47 +0000 |
commit | cdb3021f39e82d0ac0dd1ec38848a3383a9912aa (patch) | |
tree | 3d826b4b401bc0c14ab7149687454d386ea4b5b4 | |
parent | 4b960674fd5190d25b039444aa079f921bbee376 (diff) |
[fixmystreet.com] Update unresponsive page for Northamptonshire.
3 files changed, 36 insertions, 3 deletions
diff --git a/templates/web/fixmystreet.com/report/new/unresponsive_body.html b/templates/web/fixmystreet.com/report/new/unresponsive_body.html index 5a53cc8d0..0a34475bc 100644 --- a/templates/web/fixmystreet.com/report/new/unresponsive_body.html +++ b/templates/web/fixmystreet.com/report/new/unresponsive_body.html @@ -1,12 +1,17 @@ +[% SET soon = bodies.$body_id.name == 'Northamptonshire County Council' %] <div class="box-warning"> <h1>Important message</h1> <p> - <span class="unresponsive-council">[% bodies.$body_id.name %]</span> doesn’t accept + <span class="unresponsive-council">[% bodies.$body_id.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 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">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 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> </div> diff --git a/templates/web/fixmystreet.com/static/unresponsive.html b/templates/web/fixmystreet.com/static/unresponsive.html index 5d9b4bfab..f2b7a13a9 100644 --- a/templates/web/fixmystreet.com/static/unresponsive.html +++ b/templates/web/fixmystreet.com/static/unresponsive.html @@ -2,6 +2,12 @@ title = 'Unresponsive councils: What you can do', bodyclass = 'unresponsive-council fullwidthpage' %] +[% IF body.name == 'Northamptonshire County Council' ~%] + [% PROCESS static/unresponsive_northants.html %] + [% INCLUDE footer.html %] + [% RETURN %] +[% END %] + <div class="unresponsive-council__header"> <h1>Bad news :(</h1> <p><strong class="unresponsive-council-name">[% body.name %]</strong> no diff --git a/templates/web/fixmystreet.com/static/unresponsive_northants.html b/templates/web/fixmystreet.com/static/unresponsive_northants.html new file mode 100644 index 000000000..a6476856e --- /dev/null +++ b/templates/web/fixmystreet.com/static/unresponsive_northants.html @@ -0,0 +1,22 @@ +<div class="unresponsive-council__header"> + <h1>Important message</h1> + <p>[% body.name %] is not currently accepting reports from FixMyStreet.</p> +</div> + +<div class="unresponsive-council__body"> + <p><strong>FixMyStreet is coming to Northamptonshire soon!</strong> In Spring + 2019, this council will be adopting FixMyStreet as its official street + reporting platform.</p> + + <p>But until then:</p> + + <a href="https://www3.northamptonshire.gov.uk/councilservices/northamptonshire-highways/roads-and-streets/Pages/report-highway-problem.aspx" class="unresponsive-council-cta unresponsive-council-cta--primary"> + If you’d like Northamptonshire to receive and handle your report, please + <strong>report it directly</strong> on their website + </a> + + <a href="/" class="unresponsive-council-cta"> + You can still make a FixMyStreet report if you’d like to. This will be + published on our website, but not forwarded to the council. + </a> +</div> |