{{define "title"}}Compose a Message{{end}} {{define "content"}}

Admin Action

On user {{.User.Username}}

{{template "avatar-64x64" .User}}

{{.User.NameOrUsername}}

{{.User.Username}}

{{InputCSRF}} {{if eq .Intent "impersonate"}}

With great power...

By impersonating this user, you will be considered as "logged in" to their account and have access to their messages, profile, photos and settings.

Please respect user privacy and only impersonate an account as needed to diagnose a customer support issue or similar.

{{else if eq .Intent "ban"}}

This user is currently: {{if eq .User.Status "active"}} Active (not banned) {{else if eq .User.Status "disabled"}} Disabled {{else if eq .User.Status "banned"}} Banned {{end}}

Select a new status for them below:

{{else if eq .Intent "promote"}}

This user is currently: {{if .User.IsAdmin}} Admin {{else}} NOT Admin {{end}}

Select a new status for them below:

{{else if eq .Intent "delete"}}

Click the button below to deep delete this user account.

{{end}}
{{end}}