aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-06-17 14:56:04 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-06-17 14:56:04 +0100
commit4fb17bc32eda72ad8649b0218a37f4e9b50b5085 (patch)
tree20c49e947a9fff07097714bacd19eea6e63f18da
parentb824a0ee4ce0ce5b7ab19d50f440430db33bb050 (diff)
parent4ff146e17c60b0d86bdb995f48ace6af0b16577c (diff)
Merge branch 'issues/commercial/1375-bristol-redirects'
-rw-r--r--web/cobrands/bristol/assets.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/web/cobrands/bristol/assets.js b/web/cobrands/bristol/assets.js
index b31f3c154..8a3b963a1 100644
--- a/web/cobrands/bristol/assets.js
+++ b/web/cobrands/bristol/assets.js
@@ -116,4 +116,21 @@ fixmystreet.assets.add(lighting_options, {
filter_value: 'SL: Sign'
});
+var redirects = {
+ "Abandoned vehicles": "https://www.bristol.gov.uk/streets-travel/abandoned-vehicles",
+ "Flytipping": "https://www.bristol.gov.uk/streets-travel/flytipping",
+ "Flyposting": "https://www.bristol.gov.uk/streets-travel/flyposting",
+ "Graffiti": "https://www.bristol.gov.uk/streets-travel/graffiti",
+ "Dog fouling": "https://www.bristol.gov.uk/streets-travel/dog-fouling",
+ "Street cleaning": "https://www.bristol.gov.uk/streets-travel/street-that-needs-cleaning"
+};
+
+$.each(redirects, function(name, value) {
+ fixmystreet.message_controller.register_category({
+ body: common_options.body,
+ category: name,
+ message: 'If you wish to report an issue with ' + name + ', please use <a href="' + value + '">this service</a>.'
+ });
+});
+
})();