aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-03-03 15:35:03 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-03-03 15:35:03 +0000
commit931f47cc021b9e6101c8dfc29fb67f23a1603200 (patch)
treef3f3491f2a26b866afc08943594c0878aec6d0f3 /templates
parent45cef7ace903bdda255a211fdc55bf432f1dfea7 (diff)
parenta8080fad5eabd1ffef484e6979bea3c1eebd8978 (diff)
Merge branch 'staging-js'
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/maps/openlayers.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html
index 48a2f0890..f4c78767c 100644
--- a/templates/web/base/maps/openlayers.html
+++ b/templates/web/base/maps/openlayers.html
@@ -6,6 +6,9 @@
<input type="hidden" name="zoom" value="[% map.zoom %]">
<div id="js-map-data"
+[%- IF c.config.STAGING_SITE %]
+ data-staging=1
+[%- END %]
[%- UNLESS c.cobrand.call_hook('hide_areas_on_reports') %]
data-area="[% map.area.join(',') %]"
[%- END %]