{{define "view-user"}} {{template "header" .}}
{{template "admin-header" .}}

{{.User.Username}}

{{if .NewPassword}}

This user's password has been reset to:

They can use this new password to log in to their account. This will only be shown once, so be sure to copy it and send it to them now.

{{if .ClearEmail}}

Their email address is: {{.ClearEmail}}

{{end}}
{{end}}
No. {{.User.ID}}
Type {{if .User.IsAdmin}}Admin{{else}}User{{end}}
Username {{.User.Username}}
Joined {{.User.CreatedFriendly}}
Total Posts {{.TotalPosts}}
Last Post {{if .LastPost}}{{.LastPost}}{{else}}Never{{end}}
Status {{if .User.IsSilenced}}

Silenced

{{else}}

Active

{{end}}
Password {{if ne .Username .User.Username}}
{{else}} Change your password {{end}}

Blogs

{{range .Colls}}

{{.Title}}

{{if $.Config.Federation}} {{end}}
Alias {{.Alias}}
Title {{.Title}}
Description {{.Description}}
Visibility {{.FriendlyVisibility}}
Views {{.Views}}
Posts {{.TotalPosts}}
Last Post {{if .LastPost}}{{.LastPost}}{{else}}Never{{end}}
Fediverse Followers {{.Followers}}
{{end}} {{ if not .User.IsAdmin }}

Incinerator

Delete this user

Permanently erase all user data, with no way to recover it.

{{end}}
{{template "footer" .}} {{end}}