diff options
Diffstat (limited to 'templates/web/base/maps/openlayers.html')
-rw-r--r-- | templates/web/base/maps/openlayers.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html index 02f6cb131..5002d4243 100644 --- a/templates/web/base/maps/openlayers.html +++ b/templates/web/base/maps/openlayers.html @@ -33,10 +33,13 @@ <div id="map_box" aria-hidden="true"> [% pre_map %] <div id="map"> - [% DEFAULT noscript_map_template = 'maps/noscript_map.html' %] - [% INCLUDE $noscript_map_template js = 1 %] + [% IF noscript_map_template == 'maps/noscript_map_wmts.html' %] + [% INCLUDE 'maps/noscript_map_wmts.html' js = 1 %] + [% ELSE %] + [% INCLUDE 'maps/noscript_map.html' js = 1 %] + [% END %] </div> [% IF map.copyright %] - <div class="olControlAttribution" style="position: absolute;">[% map.copyright %]</div> + <div class="olControlAttribution" style="position: absolute;">[% map.copyright | safe %]</div> [% END %] <img id="loading-indicator" class="hidden" aria-hidden="true" src="/i/loading.svg" alt="Loading..."> |