{{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"}} {{DateTime "short" .CreatedUnix}} — {{svg "octicon-info"}} {{if .HasUsed}}{{$.locale.Tr "settings.last_used"}} {{DateTime "short" .UpdatedUnix.FormatLong .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" .}}