aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2018-04-04 09:49:38 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-08-03 21:35:40 +0100
commit30426bc093541066f8cc2f40b4a23261d5e4526c (patch)
tree528a2d6b8f481ba63f31f0ef09477445678a5e62 /templates
parent9f341adabd2a22de7e13c43e860bb3741017bf58 (diff)
[UK] Pull in cobrand asset files on national site.
Also add body name to layer defaults, so they are only used where appropriate. Switch mapit area javascript calls to GeoJSON, so we can drop KML support in OpenLayers.wfs.js which saves a small amount of bandwidth.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/buckinghamshire/report/new/roads_message.html4
-rw-r--r--templates/web/fixmystreet.com/footer_extra_js.html5
2 files changed, 7 insertions, 2 deletions
diff --git a/templates/web/buckinghamshire/report/new/roads_message.html b/templates/web/buckinghamshire/report/new/roads_message.html
index 772f38df4..e518e963c 100644
--- a/templates/web/buckinghamshire/report/new/roads_message.html
+++ b/templates/web/buckinghamshire/report/new/roads_message.html
@@ -1,6 +1,6 @@
-<div id="js-bucks-responsibility" class="box-warning hidden">
+<div id="js-roads-responsibility" class="box-warning hidden">
<strong>Invalid location</strong>
- <div id="js-not-bucks-road" class="hidden js-responsibility-message">
+ <div id="js-not-council-road" class="hidden js-responsibility-message">
<p>The selected road is not maintained by Buckinghamshire County Council.</p>
<p>Please select another road.</p>
</div>
diff --git a/templates/web/fixmystreet.com/footer_extra_js.html b/templates/web/fixmystreet.com/footer_extra_js.html
index 0e0300af7..c1ba95c25 100644
--- a/templates/web/fixmystreet.com/footer_extra_js.html
+++ b/templates/web/fixmystreet.com/footer_extra_js.html
@@ -3,6 +3,11 @@ scripts.push(
version('/js/lazyload.js'),
);
IF bodyclass.match('mappage');
+ scripts.push( version('/cobrands/fixmystreet/assets.js') );
+ scripts.push( version('/cobrands/bathnes/assets.js') );
+ scripts.push( version('/cobrands/bristol/assets.js') );
+ scripts.push( version('/cobrands/bromley/assets.js') );
+ scripts.push( version('/cobrands/buckinghamshire/assets.js') );
scripts.push(
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
);