{{define "admin.html"}} {{template "shell-start" .}}

ADMIN

Team approvals

Review time-off and remote-day requests.

AllPendingApproved
{{template "notice" .}}
{{if .Requests}}
{{range .Requests}}
{{initial .UserName}}
{{.UserName}}{{kindLabel .Kind}}{{statusLabel .Status}}

{{dateFA .StartDate}}{{if ne .StartDate .EndDate}} — {{dateFA .EndDate}}{{end}} · {{.DayCount}} day(s)

{{if .Reason}}
“{{.Reason}}”
{{end}} {{if eq .Status "pending"}}
{{else if .AdminNote}}

Review note: {{.AdminNote}}

{{end}}
{{end}}
{{else}}

All clear

No requests match this view.

{{end}}
{{template "shell-end" .}} {{end}}