diff options
-rw-r--r-- | web/cobrands/bristol/assets.js | 17 |
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>.' + }); +}); + })(); |