aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-06 12:27:01 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-06 12:27:01 +0100
commit76f5ec4a6d053554e1532d6ca348246c366d6c9e (patch)
tree05342f054e3b8077fac794dd2c352aa2aa3ec224
parentaaf60ba622748d8f5a5c4eb16fe663ff9fec5a0d (diff)
get around controller to use council controller for load and check
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm2
-rw-r--r--templates/web/default/around/around_index.html4
2 files changed, 4 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index f824ff64a..34981a34e 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -348,7 +348,7 @@ sub check_location_is_acceptable : Private {
}
# check that there are councils that can accept this location
- return $c->forward('/report/new/load_and_check_councils');
+ return $c->forward('/council/load_and_check_councils');
}
=head2 /ajax
diff --git a/templates/web/default/around/around_index.html b/templates/web/default/around/around_index.html
index 17be8533e..d9e0bcddc 100644
--- a/templates/web/default/around/around_index.html
+++ b/templates/web/default/around/around_index.html
@@ -18,7 +18,9 @@
</form>
-[% IF location_error %]
+[% IF location_offshore %]
+ <p class="error">[% loc('That spot does not appear to be covered by a council. If you have tried to report an issue past the shoreline, for example, please specify the closest point on land.') %]</p>
+[% ELSIF location_error %]
<p class="error">[% location_error %]</p>
[% END %]