{{define "content"}}{{template "settings-start" .}}{{with .Data}}{{$d := .}}

Posting accounts

The accounts posts go out from, and who may post to each. Admins may post to all of them; a person's own account is theirs. Tick to let someone else post to an account: the post records who wrote it and which account it went out as.

{{if not .Accounts}}

No posting accounts yet. Connect the company's under Social accounts; each person can connect their own under Your account.

{{else}}
{{range .Accounts}}{{end}} {{range $p := .People}} {{range $a := $d.Accounts}}{{end}} {{end}}
Person{{.Label}}
{{if eq .Owner 0}}the company's{{else}}{{index $d.Owners .Owner}}'s own{{end}}{{if not (index $d.Working .ID)}} ยท not working{{end}}
{{if .Name}}{{.Name}}{{else}}{{.Email}}{{end}}
{{if .Admin}}admin{{else if .Can "content" true}}member{{else}}no Content: can't post{{end}}
{{if $p.Admin}} {{else if eq $a.Owner $p.ID}} {{else}}{{end}}

Members also need edit on Content to post at all.

{{end}} {{end}}{{template "settings-end"}}{{end}}