diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/bathnes/footer_extra_js.html | 11 | ||||
-rw-r--r-- | templates/web/bristol/footer_extra_js.html | 12 | ||||
-rw-r--r-- | templates/web/bromley/footer_extra_js.html | 4 | ||||
-rw-r--r-- | templates/web/hounslow/footer_extra_js.html | 1 |
4 files changed, 26 insertions, 2 deletions
diff --git a/templates/web/bathnes/footer_extra_js.html b/templates/web/bathnes/footer_extra_js.html index 8113befc9..c195600fc 100644 --- a/templates/web/bathnes/footer_extra_js.html +++ b/templates/web/bathnes/footer_extra_js.html @@ -1,3 +1,14 @@ [% scripts.push( version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'), ) %] +[%~ +IF bodyclass.match('mappage'); + scripts.push( + version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'), + version('/cobrands/fixmystreet/assets.js'), + version('/cobrands/fixmystreet-uk-councils/roadworks.js'), + version('/cobrands/bathnes/js.js'), + version('/cobrands/bathnes/assets.js'), + ); +END +%] diff --git a/templates/web/bristol/footer_extra_js.html b/templates/web/bristol/footer_extra_js.html index 1742a55e2..deff4e395 100644 --- a/templates/web/bristol/footer_extra_js.html +++ b/templates/web/bristol/footer_extra_js.html @@ -1,5 +1,13 @@ [% scripts.push( - version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js') version('/cobrands/fixmystreet-uk-councils/js.js'), - version('/cobrands/highways/assets.js'), ) %] +[%~ +IF bodyclass.match('mappage'); + scripts.push( + version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'), + version('/cobrands/fixmystreet/assets.js'), + version('/cobrands/bristol/assets.js'), + version('/cobrands/highways/assets.js'), + ); +END +%] diff --git a/templates/web/bromley/footer_extra_js.html b/templates/web/bromley/footer_extra_js.html index 27eb438ca..26c8fe9f5 100644 --- a/templates/web/bromley/footer_extra_js.html +++ b/templates/web/bromley/footer_extra_js.html @@ -6,5 +6,9 @@ [% IF bodyclass.match('mappage'); scripts.push( version('/cobrands/bromley/js.js'), + version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'), + version('/cobrands/fixmystreet/assets.js'), + version('/cobrands/bromley/map.js'), + version('/cobrands/bromley/assets.js'), ); END %] diff --git a/templates/web/hounslow/footer_extra_js.html b/templates/web/hounslow/footer_extra_js.html index ccec09313..5ca03231b 100644 --- a/templates/web/hounslow/footer_extra_js.html +++ b/templates/web/hounslow/footer_extra_js.html @@ -6,6 +6,7 @@ IF bodyclass.match('mappage'); version('/cobrands/fixmystreet/assets.js'), version('/cobrands/highways/assets.js'), version('/cobrands/hounslow/js.js'), + version('/cobrands/hounslow/assets.js'), ); END %] |