@(account: gitbucket.core.model.Account, personalTokens: List[gitbucket.core.model.AccessToken], gneratedToken: Option[(gitbucket.core.model.AccessToken, String)])(implicit context: gitbucket.core.controller.Context) @import context._ @import gitbucket.core.view.helpers._ @html.main("Applications"){
@menu("application", settings.ssh){
Personal access tokens
@if(personalTokens.isEmpty && gneratedToken.isEmpty){ No tokens. } else { Tokens you have generated that can be used to access the GitBucket API.

} @gneratedToken.map{ case (token, tokenString) =>
Make sure to copy your new personal access token now. You won't be able to see it again!
Delete
@helper.html.copy("generated-token-copy", tokenString){ }

} @personalTokens.zipWithIndex.map { case (token, i) => @if(i != 0){

} @token.note Delete }
Generate new token
Token description

What's this token for?

}
}