diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-07 20:52:57 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-07 21:00:11 +0100 |
commit | b18385fa66e3a0f617872729ccc9bd4f7b2573a9 (patch) | |
tree | 2fed5a2aa075fcaebfc0dd42bf4ec55d96142fa5 /templates | |
parent | 172d3697b791f647354daeb76bb31785394c8b7b (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-x | templates/web/fixmystreet.com/reports/index.html | 2 |
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="["[% problem_periods.join('","') %]"]" data-values-reports="[[% problems_reported_by_period.join(',') %]]" data-values-fixed="[[% problems_fixed_by_period.join(',') %]]" ></canvas> |