aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-02-04 15:44:58 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-02-13 18:26:37 +0000
commit0e4bd8720283e41d8030384cd748c4710230f48d (patch)
tree60289ea403a7ba26a9ccaccd49bfd4f8bcdb5bb5
parent88e1827bd645f36be074f95eea25d1f539f1aecc (diff)
[UK Councils] Make sure js.js included in all.
-rw-r--r--templates/web/bathnes/footer_extra_js.html1
-rw-r--r--templates/web/bexley/footer_extra_js.html4
-rw-r--r--templates/web/bristol/footer_extra_js.html4
-rw-r--r--templates/web/bromley/footer_extra_js.html1
-rw-r--r--templates/web/buckinghamshire/footer_extra_js.html1
-rw-r--r--templates/web/cheshireeast/footer_extra_js.html1
-rw-r--r--templates/web/fixmystreet-uk-councils/footer_extra_js.html4
-rw-r--r--templates/web/greenwich/footer_extra_js.html4
-rw-r--r--templates/web/hounslow/footer_extra_js.html1
-rw-r--r--templates/web/isleofwight/footer_extra_js.html2
-rw-r--r--templates/web/lincolnshire/footer_extra_js.html1
-rw-r--r--templates/web/northamptonshire/footer_extra_js.html1
-rw-r--r--templates/web/oxfordshire/footer_extra_js.html1
-rw-r--r--templates/web/peterborough/footer_extra_js.html4
-rw-r--r--templates/web/rutland/footer_extra_js.html1
-rw-r--r--templates/web/tfl/footer_extra_js.html2
-rw-r--r--templates/web/westminster/footer_extra_js.html1
17 files changed, 17 insertions, 17 deletions
diff --git a/templates/web/bathnes/footer_extra_js.html b/templates/web/bathnes/footer_extra_js.html
index 5059d59f2..c539db75f 100644
--- a/templates/web/bathnes/footer_extra_js.html
+++ b/templates/web/bathnes/footer_extra_js.html
@@ -1,6 +1,7 @@
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
diff --git a/templates/web/bexley/footer_extra_js.html b/templates/web/bexley/footer_extra_js.html
index db48a126c..9057d1d0f 100644
--- a/templates/web/bexley/footer_extra_js.html
+++ b/templates/web/bexley/footer_extra_js.html
@@ -1,9 +1,7 @@
-[% scripts.push(
- version('/cobrands/fixmystreet-uk-councils/js.js'),
-) %]
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/bexley/js.js'),
diff --git a/templates/web/bristol/footer_extra_js.html b/templates/web/bristol/footer_extra_js.html
index deff4e395..0387fc82a 100644
--- a/templates/web/bristol/footer_extra_js.html
+++ b/templates/web/bristol/footer_extra_js.html
@@ -1,9 +1,7 @@
-[% scripts.push(
- version('/cobrands/fixmystreet-uk-councils/js.js'),
-) %]
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/bristol/assets.js'),
diff --git a/templates/web/bromley/footer_extra_js.html b/templates/web/bromley/footer_extra_js.html
index a64ad1451..9e0aeb9b2 100644
--- a/templates/web/bromley/footer_extra_js.html
+++ b/templates/web/bromley/footer_extra_js.html
@@ -4,6 +4,7 @@
) %]
[% IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
diff --git a/templates/web/buckinghamshire/footer_extra_js.html b/templates/web/buckinghamshire/footer_extra_js.html
index 36be5e7dc..c0184dfa3 100644
--- a/templates/web/buckinghamshire/footer_extra_js.html
+++ b/templates/web/buckinghamshire/footer_extra_js.html
@@ -1,6 +1,7 @@
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
diff --git a/templates/web/cheshireeast/footer_extra_js.html b/templates/web/cheshireeast/footer_extra_js.html
index 9400b2938..9227c2ac4 100644
--- a/templates/web/cheshireeast/footer_extra_js.html
+++ b/templates/web/cheshireeast/footer_extra_js.html
@@ -1,6 +1,7 @@
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
diff --git a/templates/web/fixmystreet-uk-councils/footer_extra_js.html b/templates/web/fixmystreet-uk-councils/footer_extra_js.html
index 76451344b..010528851 100644
--- a/templates/web/fixmystreet-uk-councils/footer_extra_js.html
+++ b/templates/web/fixmystreet-uk-councils/footer_extra_js.html
@@ -1,9 +1,7 @@
-[% scripts.push(
- version('/cobrands/fixmystreet-uk-councils/js.js'),
-) %]
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/highways/assets.js'),
diff --git a/templates/web/greenwich/footer_extra_js.html b/templates/web/greenwich/footer_extra_js.html
index 7b37893cf..9174ade44 100644
--- a/templates/web/greenwich/footer_extra_js.html
+++ b/templates/web/greenwich/footer_extra_js.html
@@ -1,9 +1,7 @@
-[% scripts.push(
- version('/cobrands/fixmystreet-uk-councils/js.js'),
-) %]
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/highways/assets.js'),
diff --git a/templates/web/hounslow/footer_extra_js.html b/templates/web/hounslow/footer_extra_js.html
index 58f7abd15..af21bb654 100644
--- a/templates/web/hounslow/footer_extra_js.html
+++ b/templates/web/hounslow/footer_extra_js.html
@@ -1,6 +1,7 @@
[%
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
diff --git a/templates/web/isleofwight/footer_extra_js.html b/templates/web/isleofwight/footer_extra_js.html
index 563da86b6..d7a6b0cc5 100644
--- a/templates/web/isleofwight/footer_extra_js.html
+++ b/templates/web/isleofwight/footer_extra_js.html
@@ -1,8 +1,8 @@
[% IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
- version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/cobrands/isleofwight/js.js'),
version('/cobrands/isleofwight/assets.js'),
);
diff --git a/templates/web/lincolnshire/footer_extra_js.html b/templates/web/lincolnshire/footer_extra_js.html
index 0278798a4..b985b725a 100644
--- a/templates/web/lincolnshire/footer_extra_js.html
+++ b/templates/web/lincolnshire/footer_extra_js.html
@@ -1,6 +1,7 @@
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
diff --git a/templates/web/northamptonshire/footer_extra_js.html b/templates/web/northamptonshire/footer_extra_js.html
index c17d2777e..3832007a8 100644
--- a/templates/web/northamptonshire/footer_extra_js.html
+++ b/templates/web/northamptonshire/footer_extra_js.html
@@ -1,6 +1,7 @@
[%
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/fixmystreet-uk-councils/alloy.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
diff --git a/templates/web/oxfordshire/footer_extra_js.html b/templates/web/oxfordshire/footer_extra_js.html
index d3f1f03ee..1914e1520 100644
--- a/templates/web/oxfordshire/footer_extra_js.html
+++ b/templates/web/oxfordshire/footer_extra_js.html
@@ -1,6 +1,7 @@
[%
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/highways/assets.js'),
diff --git a/templates/web/peterborough/footer_extra_js.html b/templates/web/peterborough/footer_extra_js.html
index 22cc42e60..dbb103207 100644
--- a/templates/web/peterborough/footer_extra_js.html
+++ b/templates/web/peterborough/footer_extra_js.html
@@ -1,9 +1,7 @@
-[% scripts.push(
- version('/cobrands/fixmystreet-uk-councils/js.js'),
-) %]
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
diff --git a/templates/web/rutland/footer_extra_js.html b/templates/web/rutland/footer_extra_js.html
index ba3b6ec02..abd131cbc 100644
--- a/templates/web/rutland/footer_extra_js.html
+++ b/templates/web/rutland/footer_extra_js.html
@@ -1,6 +1,7 @@
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/cobrands/fixmystreet-uk-councils/council_validation_rules.js'),
);
END
diff --git a/templates/web/tfl/footer_extra_js.html b/templates/web/tfl/footer_extra_js.html
index e91a2a389..3c4a2f8af 100644
--- a/templates/web/tfl/footer_extra_js.html
+++ b/templates/web/tfl/footer_extra_js.html
@@ -1,10 +1,10 @@
[% scripts.push(
version('/jslib/jquery-1.7.2.min.js'),
- version('/cobrands/fixmystreet-uk-councils/js.js'),
) %]
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/highways/assets.js'),
diff --git a/templates/web/westminster/footer_extra_js.html b/templates/web/westminster/footer_extra_js.html
index 33fdb4dc2..4180d9d20 100644
--- a/templates/web/westminster/footer_extra_js.html
+++ b/templates/web/westminster/footer_extra_js.html
@@ -1,6 +1,7 @@
[%~
IF bodyclass.match('mappage');
scripts.push(
+ version('/cobrands/fixmystreet-uk-councils/js.js'),
version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
version('/cobrands/fixmystreet/assets.js'),
version('/cobrands/westminster/assets.js'),