aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/bathnes/footer_extra_js.html4
-rw-r--r--templates/web/bromley/footer_extra_js.html2
-rw-r--r--templates/web/buckinghamshire/footer_extra_js.html4
-rw-r--r--templates/web/cheshireeast/footer_extra_js.html4
-rw-r--r--templates/web/hounslow/footer_extra_js.html4
-rw-r--r--templates/web/lincolnshire/footer_extra_js.html4
-rw-r--r--templates/web/peterborough/footer_extra_js.html2
-rw-r--r--templates/web/rutland/footer_extra_js.html10
8 files changed, 14 insertions, 20 deletions
diff --git a/templates/web/bathnes/footer_extra_js.html b/templates/web/bathnes/footer_extra_js.html
index 6ab4c70a0..5059d59f2 100644
--- a/templates/web/bathnes/footer_extra_js.html
+++ b/templates/web/bathnes/footer_extra_js.html
@@ -1,9 +1,7 @@
-[% scripts.push(
- version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
-) %]
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/bathnes/assets.js'),
diff --git a/templates/web/bromley/footer_extra_js.html b/templates/web/bromley/footer_extra_js.html
index 0998a28f4..a64ad1451 100644
--- a/templates/web/bromley/footer_extra_js.html
+++ b/templates/web/bromley/footer_extra_js.html
@@ -1,10 +1,10 @@
[% scripts.push(
version('/jslib/jquery-1.7.2.min.js'),
version('/cobrands/bromley/a-z-nav.js'),
- version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
) %]
[% IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/bromley/map.js'),
diff --git a/templates/web/buckinghamshire/footer_extra_js.html b/templates/web/buckinghamshire/footer_extra_js.html
index 760722bcd..36be5e7dc 100644
--- a/templates/web/buckinghamshire/footer_extra_js.html
+++ b/templates/web/buckinghamshire/footer_extra_js.html
@@ -1,9 +1,7 @@
-[% scripts.push(
- version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
-) %]
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/buckinghamshire/assets.js'),
diff --git a/templates/web/cheshireeast/footer_extra_js.html b/templates/web/cheshireeast/footer_extra_js.html
index 674763338..9400b2938 100644
--- a/templates/web/cheshireeast/footer_extra_js.html
+++ b/templates/web/cheshireeast/footer_extra_js.html
@@ -1,9 +1,7 @@
-[% scripts.push(
- version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
-) %]
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/cheshireeast/assets.js'),
diff --git a/templates/web/hounslow/footer_extra_js.html b/templates/web/hounslow/footer_extra_js.html
index 3970faee6..58f7abd15 100644
--- a/templates/web/hounslow/footer_extra_js.html
+++ b/templates/web/hounslow/footer_extra_js.html
@@ -1,9 +1,7 @@
-[% scripts.push(
- version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
-) %]
[%
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/highways/assets.js'),
diff --git a/templates/web/lincolnshire/footer_extra_js.html b/templates/web/lincolnshire/footer_extra_js.html
index 78b25b0c9..0278798a4 100644
--- a/templates/web/lincolnshire/footer_extra_js.html
+++ b/templates/web/lincolnshire/footer_extra_js.html
@@ -1,9 +1,7 @@
-[% scripts.push(
- version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
-) %]
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/lincolnshire/assets.js'),
diff --git a/templates/web/peterborough/footer_extra_js.html b/templates/web/peterborough/footer_extra_js.html
index afed8d350..22cc42e60 100644
--- a/templates/web/peterborough/footer_extra_js.html
+++ b/templates/web/peterborough/footer_extra_js.html
@@ -1,10 +1,10 @@
[% scripts.push(
version('/cobrands/fixmystreet-uk-councils/js.js'),
- version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
) %]
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/peterborough/js.js'),
diff --git a/templates/web/rutland/footer_extra_js.html b/templates/web/rutland/footer_extra_js.html
index 8113befc9..ba3b6ec02 100644
--- a/templates/web/rutland/footer_extra_js.html
+++ b/templates/web/rutland/footer_extra_js.html
@@ -1,3 +1,7 @@
-[% scripts.push(
- version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
-) %]
+[%~
+IF bodyclass.match('mappage');
+ scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
+ );
+END
+%]