aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/hounslow/js.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-03-04 17:17:46 +0000
committerDave Arter <davea@mysociety.org>2019-06-04 14:54:29 +0100
commit4bb4777a7f48c8392bfd4b1392388ed67cac37a0 (patch)
treefe852270f856fdfa2e129666dcc18277fb95d02b /web/cobrands/hounslow/js.js
parent3f99bcedaa08e6c81326850c355a05a459d2c95a (diff)
[Hounslow] Initial cobrand
Diffstat (limited to 'web/cobrands/hounslow/js.js')
-rw-r--r--web/cobrands/hounslow/js.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/web/cobrands/hounslow/js.js b/web/cobrands/hounslow/js.js
new file mode 100644
index 000000000..21bc3b96c
--- /dev/null
+++ b/web/cobrands/hounslow/js.js
@@ -0,0 +1,18 @@
+(function(){
+
+if (!fixmystreet.maps) {
+ return;
+}
+
+var org_id = '5540';
+var body = "Hounslow Borough Council";
+fixmystreet.assets.add($.extend(true, {}, fixmystreet.roadworks.layer_future, {
+ http_options: { params: { organisation_id: org_id } },
+ body: body
+}));
+fixmystreet.assets.add($.extend(true, {}, fixmystreet.roadworks.layer_planned, {
+ http_options: { params: { organisation_id: org_id } },
+ body: body
+}));
+
+})();