From 387a174cb8a54af731230e33aa08201fc11b92de Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 26 Feb 2025 11:47:08 +0000 Subject: [PATCH] [Surrey] Change unresponsive council message. FD-5150. --- .../static/unresponsive_northants.html | 22 ------------------- .../surrey/report/new/unresponsive_body.html | 14 ++++++++++++ web/cobrands/surrey/base.scss | 7 ++++++ 3 files changed, 21 insertions(+), 22 deletions(-) delete mode 100644 templates/web/fixmystreet.com/static/unresponsive_northants.html create mode 100644 templates/web/surrey/report/new/unresponsive_body.html diff --git a/templates/web/fixmystreet.com/static/unresponsive_northants.html b/templates/web/fixmystreet.com/static/unresponsive_northants.html deleted file mode 100644 index a6476856ee3..00000000000 --- a/templates/web/fixmystreet.com/static/unresponsive_northants.html +++ /dev/null @@ -1,22 +0,0 @@ -
-

Important message

-

[% body.name %] is not currently accepting reports from FixMyStreet.

-
- -
-

FixMyStreet is coming to Northamptonshire soon! In Spring - 2019, this council will be adopting FixMyStreet as its official street - reporting platform.

- -

But until then:

- - - If you’d like Northamptonshire to receive and handle your report, please - report it directly on their website - - - - 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. - -
diff --git a/templates/web/surrey/report/new/unresponsive_body.html b/templates/web/surrey/report/new/unresponsive_body.html new file mode 100644 index 00000000000..e9649099018 --- /dev/null +++ b/templates/web/surrey/report/new/unresponsive_body.html @@ -0,0 +1,14 @@ +[% +SET first = body_id.keys.first; # Might be more than one, but showing one will do +SET url = bodies.$first.external_url; +%] +
+

[% bodies.$first.name %]

+

+ To make a report to [% bodies.$first.name %], + please visit their website + [%~ IF url %] + at [% url %] + [%~ END %]. +

+
diff --git a/web/cobrands/surrey/base.scss b/web/cobrands/surrey/base.scss index da0692a76c2..e2772df53cf 100644 --- a/web/cobrands/surrey/base.scss +++ b/web/cobrands/surrey/base.scss @@ -241,3 +241,10 @@ a#geolocate_link, .societyworks-footer p { text-align: center; } + +/* Reporting flow overrides */ + +/* Hide the continue button if a message is being shown */ +div.js-reporting-page:has(.unresponsive-council) .js-reporting-page--next { + display: none; +}