aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2018-10-12 14:19:34 +0100
committerStruan Donald <struan@exo.org.uk>2018-10-18 10:00:21 +0100
commit037922d64f13caab647e25b6c08f1c2cf0f9baf3 (patch)
tree9cb2cdbfe6d1b0ac9eaa7c7473756a47e97aa17e
parent5c736b92c25be4beec7799d5f0d07691e44051da (diff)
[Bromley] restrict contact form to abuse reports
Change contact links to main Bromley site contact and limit the contact form to only accept abuse reports. Fixes mysociety/fixmystreet-commercial#1198
-rw-r--r--perllib/FixMyStreet/Cobrand/Bromley.pm2
-rw-r--r--templates/web/bromley/footer_extra.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm
index e1021eda9..53fb9010c 100644
--- a/perllib/FixMyStreet/Cobrand/Bromley.pm
+++ b/perllib/FixMyStreet/Cobrand/Bromley.pm
@@ -106,6 +106,8 @@ sub contact_email {
}
sub contact_name { 'Bromley Council (do not reply)'; }
+sub abuse_reports_only { 1; }
+
sub reports_per_page { return 20; }
sub tweak_all_reports_map {
diff --git a/templates/web/bromley/footer_extra.html b/templates/web/bromley/footer_extra.html
index 176b14f63..8f97f87d5 100644
--- a/templates/web/bromley/footer_extra.html
+++ b/templates/web/bromley/footer_extra.html
@@ -4,7 +4,7 @@
<div class="additional-links footer-list1">
<h5>Get in touch</h5>
<ul>
- <li class="border first-child"><a href="/contact">Contact Us</a></li>
+ <li class="border first-child"><a href="http://www.bromley.gov.uk/contact">Contact Us</a></li>
<li class="border"><a href="http://www.bromley.gov.uk/feedback">Feedback</a></li>
</ul>
</div><!--additional-links-->