aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/report/display.html
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/report/display.html
parent45f6e7e798b203df12938c4b06976fa310173093 (diff)
Get header JS <script> out of code and into templates.
Diffstat (limited to 'templates/web/default/report/display.html')
-rw-r--r--templates/web/default/report/display.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/web/default/report/display.html b/templates/web/default/report/display.html
index ef51dca01..05b594b7b 100644
--- a/templates/web/default/report/display.html
+++ b/templates/web/default/report/display.html
@@ -1,4 +1,6 @@
[%
+ PROCESS "maps/${map.type}.html";
+
problem_title = problem.title | html;
INCLUDE 'header.html'
title = problem_title
@@ -6,7 +8,7 @@
robots = 'index, nofollow'
%]
-[% INCLUDE "maps/${map.type}.html" %]
+[% map_html %]
[% IF c.config.COUNTRY == 'GB' %]
<p id='sub_map_links'>