diff options
-rw-r--r-- | templates/web/northamptonshire/footer_extra_js.html | 2 | ||||
-rw-r--r-- | web/cobrands/northamptonshire/js.js | 19 |
2 files changed, 21 insertions, 0 deletions
diff --git a/templates/web/northamptonshire/footer_extra_js.html b/templates/web/northamptonshire/footer_extra_js.html index c17d2777e..dc87babce 100644 --- a/templates/web/northamptonshire/footer_extra_js.html +++ b/templates/web/northamptonshire/footer_extra_js.html @@ -4,6 +4,8 @@ IF bodyclass.match('mappage'); version('/cobrands/fixmystreet/assets.js'), version('/cobrands/fixmystreet-uk-councils/alloy.js'), version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'), + version('/cobrands/fixmystreet-uk-councils/roadworks.js'), + version('/cobrands/northamptonshire/js.js'), version('/cobrands/northamptonshire/assets.js'), version('/cobrands/highways/assets.js'), version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'), diff --git a/web/cobrands/northamptonshire/js.js b/web/cobrands/northamptonshire/js.js new file mode 100644 index 000000000..286b24551 --- /dev/null +++ b/web/cobrands/northamptonshire/js.js @@ -0,0 +1,19 @@ +(function(){ + +if (!fixmystreet.maps) { + return; +} + +var org_id = '1089'; +var body = "Northamptonshire County 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 +}); + +})(); |