{{template "base/head" .}}
{{template "user/settings/navbar" .}}
{{template "base/alert" .}}

{{.i18n.Tr "settings.manage_access_token"}}
{{.i18n.Tr "settings.generate_new_token"}}

{{.i18n.Tr "settings.tokens_desc"}}
{{range .Tokens}}
{{.Name}}
{{$.i18n.Tr "settings.add_on"}} {{DateFmtShort .Created}} {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} {{DateFmtShort .Updated}}{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}
{{end}}

{{.i18n.Tr "settings.generate_new_token"}}

{{.CSRFTokenHTML}}

{{.i18n.Tr "settings.new_token_desc"}}

{{template "base/footer" .}}