aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zurich
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/zurich')
-rw-r--r--templates/web/zurich/admin/report_edit-sdm.html3
-rw-r--r--templates/web/zurich/admin/report_edit.html3
-rw-r--r--templates/web/zurich/maps/zurich.html9
-rwxr-xr-xtemplates/web/zurich/reports/index.html3
4 files changed, 9 insertions, 9 deletions
diff --git a/templates/web/zurich/admin/report_edit-sdm.html b/templates/web/zurich/admin/report_edit-sdm.html
index 5ff031ce2..82bbeba23 100644
--- a/templates/web/zurich/admin/report_edit-sdm.html
+++ b/templates/web/zurich/admin/report_edit-sdm.html
@@ -7,9 +7,6 @@
-%]
[% map_html %]
- <p id='sub_map_links'>
- <a class="hidden-nojs" id="map_layer_toggle" href="">Stadtplan</a>
- </p>
</div>
[% status_message %]
diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html
index 66a51f162..5376d77f4 100644
--- a/templates/web/zurich/admin/report_edit.html
+++ b/templates/web/zurich/admin/report_edit.html
@@ -8,9 +8,6 @@
-%]
[% map_html %]
- <p id='sub_map_links'>
- <a class="hidden-nojs" id="map_layer_toggle" href="">Stadtplan</a>
- </p>
</div>
[% status_message %]
diff --git a/templates/web/zurich/maps/zurich.html b/templates/web/zurich/maps/zurich.html
index 492ccc556..46b003530 100644
--- a/templates/web/zurich/maps/zurich.html
+++ b/templates/web/zurich/maps/zurich.html
@@ -9,6 +9,15 @@
<![endif]-->
[% END %]
+[% map_sub_links = BLOCK %]
+ <a class="hidden-nojs" id="map_layer_toggle" href="">Stadtplan</a>
+[% END %]
+
[% map_html = BLOCK %]
[% INCLUDE maps/openlayers.html %]
+[% UNLESS around_page %]
+<p id="sub_map_links">
+ [% map_sub_links %]
+</p>
+[% END %]
[% END %]
diff --git a/templates/web/zurich/reports/index.html b/templates/web/zurich/reports/index.html
index 670746753..0ece1ca2c 100755
--- a/templates/web/zurich/reports/index.html
+++ b/templates/web/zurich/reports/index.html
@@ -5,9 +5,6 @@
bodyclass = 'mappage';
%]
[% map_html %]
- <p id='sub_map_links'>
- <a class="hidden-nojs" id="map_layer_toggle" href="">Stadtplan</a>
- </p>
</div>
<div id="side">