diff options
author | Struan Donald <struan@exo.org.uk> | 2019-06-12 17:52:19 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2019-09-27 17:18:57 +0100 |
commit | 9d6f5fa066644c64fba62a7ad38d001712408e30 (patch) | |
tree | 235c8c51f99e738f75b0139320e493095d1c6673 /web/cobrands/isleofwight/js.js | |
parent | effcb0f3043f3684e94db4866d0b434440e8ba53 (diff) |
[IsleOfWight] roadworks.org integration
Diffstat (limited to 'web/cobrands/isleofwight/js.js')
-rw-r--r-- | web/cobrands/isleofwight/js.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/web/cobrands/isleofwight/js.js b/web/cobrands/isleofwight/js.js index ed106cef6..0665a99ba 100644 --- a/web/cobrands/isleofwight/js.js +++ b/web/cobrands/isleofwight/js.js @@ -4,7 +4,6 @@ if (!fixmystreet.maps) { return; } - if (fixmystreet.cobrand == 'isleofwight') { // We want the cobranded site to always display "Island Roads" // as the destination for reports in the "Public details" section. @@ -17,4 +16,15 @@ if (fixmystreet.cobrand == 'isleofwight') { fixmystreet.update_public_councils_text = function() {}; } +var org_id = '1062'; +var body = "Isle of Wight Council"; +fixmystreet.assets.add(fixmystreet.roadworks.layer_future, { + http_options: { params: { organisation_id: org_id } }, + body: body +}); +fixmystreet.assets.add(fixmystreet.roadworks.layer_planned, { + http_options: { params: { organisation_id: org_id } }, + body: body +}); + })(); |