aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/around
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-26 11:57:21 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-26 11:57:21 +0100
commita04abdebaf280cbfbad65fabb2c64d88f9e3d72c (patch)
tree0adcfeb9a4e11737417eee488038b7894c9f50c2 /templates/web/default/around
parent45f6e7e798b203df12938c4b06976fa310173093 (diff)
Get header JS <script> out of code and into templates.
Diffstat (limited to 'templates/web/default/around')
-rwxr-xr-xtemplates/web/default/around/display_location.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/web/default/around/display_location.html b/templates/web/default/around/display_location.html
index f9a9bdc51..48ff5fcb8 100755
--- a/templates/web/default/around/display_location.html
+++ b/templates/web/default/around/display_location.html
@@ -28,6 +28,8 @@
}
);
+ PROCESS "maps/${map.type}.html";
+
INCLUDE 'header.html',
title => loc('Viewing a location')
rss => [ loc('Recent local problems, FixMyStreet'), rss_url ],
@@ -43,7 +45,7 @@
<input type="hidden" name="latitude" id="fixmystreet.latitude" value="[% short_latitude | html %]">
<input type="hidden" name="longitude" id="fixmystreet.longitude" value="[% short_longitude | html %]">
-[% INCLUDE "maps/${map.type}.html" %]
+[% map_html %]
<p id='sub_map_links'>
[% IF c.req.params.no_pins %]