diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/maps/noscript_map_wmts.html (renamed from templates/web/bristol/maps/noscript_map.html) | 0 | ||||
-rw-r--r-- | templates/web/base/maps/openlayers.html | 3 | ||||
-rw-r--r-- | templates/web/base/maps/wmts.html | 4 | ||||
-rw-r--r-- | templates/web/bristol/maps/bristol.html | 4 | ||||
-rw-r--r-- | templates/web/buckinghamshire/maps/buckinghamshire.html | 4 |
5 files changed, 6 insertions, 9 deletions
diff --git a/templates/web/bristol/maps/noscript_map.html b/templates/web/base/maps/noscript_map_wmts.html index 987aa76a6..987aa76a6 100644 --- a/templates/web/bristol/maps/noscript_map.html +++ b/templates/web/base/maps/noscript_map_wmts.html diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html index 2f748cb19..02f6cb131 100644 --- a/templates/web/base/maps/openlayers.html +++ b/templates/web/base/maps/openlayers.html @@ -33,7 +33,8 @@ <div id="map_box" aria-hidden="true"> [% pre_map %] <div id="map"> - [% INCLUDE 'maps/noscript_map.html' js = 1 %] + [% DEFAULT noscript_map_template = 'maps/noscript_map.html' %] + [% INCLUDE $noscript_map_template js = 1 %] </div> [% IF map.copyright %] <div class="olControlAttribution" style="position: absolute;">[% map.copyright %]</div> diff --git a/templates/web/base/maps/wmts.html b/templates/web/base/maps/wmts.html new file mode 100644 index 000000000..d955f6985 --- /dev/null +++ b/templates/web/base/maps/wmts.html @@ -0,0 +1,4 @@ +[% map_html = BLOCK %] +[% INCLUDE maps/openlayers.html noscript_map_template = 'maps/noscript_map_wmts.html' %] +[% INCLUDE maps/wmts_config.html %] +[% END %] diff --git a/templates/web/bristol/maps/bristol.html b/templates/web/bristol/maps/bristol.html deleted file mode 100644 index 1dcc82635..000000000 --- a/templates/web/bristol/maps/bristol.html +++ /dev/null @@ -1,4 +0,0 @@ -[% map_html = BLOCK %] -[% INCLUDE maps/openlayers.html %] -[% INCLUDE maps/wmts_config.html %] -[% END %] diff --git a/templates/web/buckinghamshire/maps/buckinghamshire.html b/templates/web/buckinghamshire/maps/buckinghamshire.html deleted file mode 100644 index 1dcc82635..000000000 --- a/templates/web/buckinghamshire/maps/buckinghamshire.html +++ /dev/null @@ -1,4 +0,0 @@ -[% map_html = BLOCK %] -[% INCLUDE maps/openlayers.html %] -[% INCLUDE maps/wmts_config.html %] -[% END %] |