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

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

{{.i18n.Tr "settings.tokens_desc"}}
{{range .Tokens}}
{{.Name}}
{{$.i18n.Tr "settings.add_on"}} {{.CreatedUnix.FormatShort}} {{if .HasUsed}}{{$.i18n.Tr "settings.last_used"}} {{.UpdatedUnix.FormatShort}}{{else}}{{$.i18n.Tr "settings.no_activity"}}{{end}}
{{end}}
{{.i18n.Tr "settings.generate_new_token"}}

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

{{.CsrfTokenHtml}}
{{if .EnableOAuth2}} {{template "user/settings/applications_oauth2" .}} {{end}}
{{template "base/footer" .}}