{{define "content"}} {{if not .HasData}}
{{template "emptystate" .}}
{{else}}
{{/* 时间轴回放:拖动即可按「首次到访时间」累加显示点位。 注意它和左侧的日期区间是两回事——区间是「只看这段时间」, 时间轴是「一路走到这个时刻为止」,所以放在地图底部而不是筛选面板里。 */}} {{/* 加载失败时的提示条:绝不重新加载页面,只在地图上说清楚并给一个重试按钮 */}}

时间范围

{{range .Presets}}{{.Label}}{{end}} {{if .IsAdmin}} 含家/工作 {{end}}
{{if .Activities}}

地点类型

{{range $i, $a := .Activities}}{{if or (lt $i 12) ($.IsAct $a.ID)}} {{$a.Name}} {{end}}{{end}}
{{if gt (len .Activities) 12}}
展开其余 {{len .Activities}} 个类型
{{range $i, $a := .Activities}}{{if and (ge $i 12) (not ($.IsAct $a.ID))}} {{$a.Name}} {{end}}{{end}}
{{end}} {{end}}

其它条件

{{range .ActivityIDs}}{{end}} {{if .ShowHomeWork}}{{end}}
重置
当前显示 {{num (len .Points)}} 个地点
{{if .Legend}}
类型分布
{{range .Legend}}
{{.Name}} {{num .Count}}
{{end}}
{{end}}
{{end}} {{end}}