summaryrefslogtreecommitdiff
path: root/system/admin/admin.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-11-04 00:05:12 -0700
committerSteve Manuel <nilslice@gmail.com>2016-11-04 00:05:12 -0700
commitb87aeda245b08385878d90c2448e21be3a040fd4 (patch)
tree1148773d1d09732a4c54decfd90e9b5be158a05c /system/admin/admin.go
parent87ec6d2affe9600dcc7d28fa1debd4d2cc9b24fe (diff)
testing template range to get dates into page
Diffstat (limited to 'system/admin/admin.go')
-rw-r--r--system/admin/admin.go2
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',