aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-07-07 20:52:57 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-07-07 21:00:11 +0100
commitb18385fa66e3a0f617872729ccc9bd4f7b2573a9 (patch)
tree2fed5a2aa075fcaebfc0dd42bf4ec55d96142fa5 /templates
parent172d3697b791f647354daeb76bb31785394c8b7b (diff)
[fixmystreet.com] Fix /reports displaying months.
Month strings weren't escaped in data label, and would never match database data (using month number). Also issues displaying current day/month in graph.
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/web/fixmystreet.com/reports/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/fixmystreet.com/reports/index.html b/templates/web/fixmystreet.com/reports/index.html
index 2e0ba4596..4eafb2993 100755
--- a/templates/web/fixmystreet.com/reports/index.html
+++ b/templates/web/fixmystreet.com/reports/index.html
@@ -23,7 +23,7 @@
<h2>UK: [% loc('All time') %]</h2>
<div class="labelled-line-chart">
<canvas id="chart-all-reports" width="600" height="300"
- data-labels="[[% problem_periods.join(',') %]]"
+ data-labels="[&quot;[% problem_periods.join('&quot;,&quot;') %]&quot;]"
data-values-reports="[[% problems_reported_by_period.join(',') %]]"
data-values-fixed="[[% problems_fixed_by_period.join(',') %]]"
></canvas>