{{define "id-body"}} {{if eq .ID.State "settings"}} {{if .ID.Subject}}

{{.ID.Subject}}

{{printf (copy "id.linked_at") (.ID.LinkedAt.UTC.Format "2006-01-02 15:04 UTC")}}

{{else}}

{{copy "id.not_linked"}}

{{end}}

{{copy "id.reauth"}}

{{if .ID.Subject}} {{else}}{{end}}
{{else if eq .ID.State "confirm"}}

{{copy "id.confirm"}}

{{else if eq .ID.State "unlink"}}

{{copy "id.unlink_confirm"}}

{{else if eq .ID.State "unlinked"}}

{{copy "id.unlinked"}}

{{copy "id.help"}}

{{copy "id.email"}} {{else}}

{{copy "id.failed"}}

{{copy "id.email"}} {{end}} {{end}}