{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings applications")}}

{{.locale.Tr "settings.manage_access_token"}}

{{.locale.Tr "settings.tokens_desc"}}
{{range .Tokens}}
{{svg "fontawesome-send" 36}}
{{.Name}}

{{$.locale.Tr "settings.scopes_list"}}

    {{range .Scope.StringSlice}}
  • {{.}}
  • {{end}}
{{$.locale.Tr "settings.add_on"}} {{template "shared/datetime/short" (dict "Datetime" .CreatedUnix.FormatLong "Fallback" .CreatedUnix.FormatShort)}} — {{svg "octicon-info"}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} {{template "shared/datetime/short" (dict "Datetime" .UpdatedUnix.FormatLong "Fallback" .UpdatedUnix.FormatShort)}}{{else}}{{$.locale.Tr "settings.no_activity"}}{{end}}
{{end}}
{{.locale.Tr "settings.generate_new_token"}}

{{.locale.Tr "settings.new_token_desc"}}

{{.CsrfTokenHtml}}
{{.locale.Tr "settings.select_scopes"}}
{{if .EnableOAuth2}} {{template "user/settings/grants_oauth2" .}} {{template "user/settings/applications_oauth2" .}} {{end}}
{{template "user/settings/layout_footer" .}}