{{template "authenticated.html" .}} {{define "title"}}Dash{{end}} {{define "extraheader"}} {{end}} {{define "content"}}

{{ .User.Organization.Name }} Dashboard

Overview of mosquito control activities in your district

{{ if .IsSyncOngoing }}

Syncing now...

{{ else }}

Last updated: {{ .LastSync | timeSincePtr }}

{{ end }}
Last Data Refresh

{{ .LastSync | timeSincePtr }}

Service Requests
{{ if .IsSyncOngoing }}

{{ .CountServiceRequests | bigNumber }}...?

{{ else }}

{{ .CountServiceRequests | bigNumber }}

{{ end }}
Mosquito Sources
{{ if .IsSyncOngoing }}

{{ .CountMosquitoSources | bigNumber }}..?

{{ else }}

{{ .CountMosquitoSources | bigNumber }}

{{ end }}
Traps
{{ if .IsSyncOngoing }}

{{ .CountTraps | bigNumber }}...?

{{ else }}

{{ .CountTraps | bigNumber }}

{{ end }}

Mosquito Activity Heatmap

Recent Activity

{{ range $i, $sr := .RecentRequests }} {{ end }}
Date Type Location Status Action
{{ $sr.Date | timeSincePtr }} Service Request {{ $sr.Location }} Completed View
{{end}}