{{ define "title"}}{{ t "page.users.title" }}{{ end }}
{{ define "header"}}
{{ t "page.users.title" }}
{{ template "settings_menu" dict "user" .user }}
{{ t "alert.no_user" }}
{{ else }}{{ t "page.users.username" }} | {{ t "page.users.is_admin" }} | {{ t "page.users.last_login" }} | {{ t "page.users.actions" }} |
---|---|---|---|
{{ .Username }} | {{ if eq .IsAdmin true }}{{ t "page.users.admin.yes" }}{{ else }}{{ t "page.users.admin.no" }}{{ end }} | {{ if .LastLoginAt }} {{ else }} {{ t "page.users.never_logged" }} {{ end }} | {{ t "action.edit" }}, {{ t "action.remove" }} |