{{ define "requestMultiKeySuccess" }} {{ template "header" .}}
{{ if .Error }}
{{.Error}}
{{ end }}
{{ if .Approved }}

Congratulations! Your key request has been approved!

{{ if not .isBA }} Your new key is: {{.NewKey}} {{ else}} Your new credentails are: Username: {{.username}} Password: {{.password}} {{ end}} {{ if .HMACSecret }} HMAC secret: {{.HMACSecret}} {{ end }}

Important: You will not be able to retrieve this username and password later, please take note of it and keep it safe.
{{else}}
{{if .Key}}

Key modification request has been submitted!

{{if .CataloguesRequireApproval}}

Access to the following APIs require approval:

Your key request has been sent!

    {{range $idx, $cat := .CataloguesRequireApproval}}
  1. {{$cat.Name}}
  2. {{end}}
{{end}} {{if .CataloguesRevoked}}

Access to the following APIs was revoked:

    {{range $idx, $cat := .CataloguesRevoked}}
  1. {{$cat.Name}}
  2. {{end}}
{{end}} {{if .CataloguesApproved}}

Access to the following APIs approved:

    {{range $idx, $cat := .CataloguesApproved}}
  1. {{$cat.Name}}
  2. {{end}}
{{end}}
{{else}}

Congratulations! Your key request has been sent!

{{end}}
{{end}}
{{ template "navigation" . }} {{ template "footer" .}} {{ template "scripts" .}} {{ end }}