diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-11-04 00:05:12 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-11-04 00:05:12 -0700 |
commit | b87aeda245b08385878d90c2448e21be3a040fd4 (patch) | |
tree | 1148773d1d09732a4c54decfd90e9b5be158a05c /system/admin/admin.go | |
parent | 87ec6d2affe9600dcc7d28fa1debd4d2cc9b24fe (diff) |
testing template range to get dates into page
Diffstat (limited to 'system/admin/admin.go')
-rw-r--r-- | system/admin/admin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/admin.go b/system/admin/admin.go index a0c2889..f6e7d20 100644 --- a/system/admin/admin.go +++ b/system/admin/admin.go @@ -383,7 +383,7 @@ var analyticsHTML = ` var chart = new Chart(target, { type: 'bar', data: { - labels: [{{ .dates }}], + labels: [{{ range $date := .dates }} "{{ $date }}", {{ end }}], datasets: [{ type: 'line', label: 'Unique Clients', |