Skip to content

Commit

Permalink
[Surrey] Change unresponsive council message.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Feb 26, 2025
1 parent 5043037 commit 387a174
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 22 deletions.
22 changes: 0 additions & 22 deletions templates/web/fixmystreet.com/static/unresponsive_northants.html

This file was deleted.

14 changes: 14 additions & 0 deletions templates/web/surrey/report/new/unresponsive_body.html
Original file line number Diff line number Diff line change
@@ -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;
%]
<div class="box-warning">
<h1>[% bodies.$first.name %]</h1>
<p>
To make a report to <span class="unresponsive-council">[% bodies.$first.name %]</span>,
please visit their website
[%~ IF url %]
at <a href="[% url %]">[% url %]</a>
[%~ END %].
</p>
</div>
7 changes: 7 additions & 0 deletions web/cobrands/surrey/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 387a174

Please sign in to comment.